This plugin adds several improvements to WordPress’ default way of creating excerpts.
此插件对WordPress创建摘录的默认方式进行了一些改进。 p>
- Keeps HTML markup in the excerpt (and you get to choose which tags are included)
- 摘录中保留HTML标记(您可以选择其中包含的标记) li>
- Trims the excerpt to a given length using either character count or word count
- 使用字符数或单词数将摘录修剪到给定的长度 li>
- Only the ‘real’ text is counted (HTML is ignored but kept)
- 仅计算“真实”文本(忽略但保留HTML) li>
- Customizes the excerpt length and the ellipsis character that are used
- 自定义使用的摘录长度和省略号 li>
- Completes the last word or sentence in an excerpt (no weird cuts)
- 完成摘录中的最后一个单词或句子(切勿奇怪) li>
- Adds a read-more link to the text
- 在文本上添加更多 em>链接 li>
- Ignores custom excerpts and use the generated one instead
- 忽略自定义摘录,而使用生成的摘录 li>
- Theme developers can use
the_advanced_excerpt()
for even more control (see the FAQ) - 主题开发人员可以使用
the_advanced_excerpt() code>进行更多控制(请参阅FAQ) li>
ol>
Most of the above features are optional and/or can be customized by the user or theme developer.
上述大多数功能是可选的,并且/或者可以由用户或主题开发人员自定义。 p>
Banner image credit – chillihead
横幅图片信誉– chillihead p>
Original plugin author – basvd
原始插件作者– basvd p>
Useful Resources
有用的资源 strong> p>