WordPress中的手动摘录帖子

时间:2015-05-05 03:01:06

标签: wordpress

我在WordPress帖子中手动摘录时遇到问题。

我可以在创建帖子时看到手动摘录块。但是当我在摘录块中输入一些文本时。它没有在主页上显示该文本。

从文本块中捕获数据作为摘录。

2 个答案:

答案 0 :(得分:0)

我认为你的模板中没有摘录函数调用。请查看以下手册:the_excerptExcerptHow to Display Post Excerpts in WordPress Themes

答案 1 :(得分:0)

如果您不熟悉wordpress主题编码,请在编写wordpress帖子时尝试使用<!--more--> quicktag。这是一个让您走上正确轨道的参考。 https://codex.wordpress.org/Function_Reference/the_excerpt