admin管理员组文章数量:1335138
I would like to be able to control what text appears in the boxes on this homepage better.
Currently this just takes text from the beginning of the post.
How can I EITHER limit the length of this text OR Enter specific text into a field in the post to display here.
Any suggestions would be much appreciated!
I would like to be able to control what text appears in the boxes on this homepage better.
Currently this just takes text from the beginning of the post.
How can I EITHER limit the length of this text OR Enter specific text into a field in the post to display here.
Any suggestions would be much appreciated!
Share Improve this question edited Feb 18, 2015 at 18:05 Pieter Goosen 55.4k23 gold badges115 silver badges210 bronze badges asked Feb 18, 2015 at 17:49 AlexAlex 12 bronze badges1 Answer
Reset to default 1This is most likely your "Exceprt" area. See the_excerpt.
The excerpt is created from the first 55 or so words of your post automagically by WordPress.
You can also use the "More" tag ...
looks like <!-- more -->
... when editing your post to tell WP when to cutoff your exceprt text.
Also, depending on your theme, you can use/fill in the "Excerpt" box when editing a Post to specify the exact words you want WP to display when showing the Summary/Excerpt of the Post.
You can read on the Excerpt page linked above about how to customize the Excpert length to be any number besides 55 words if you are wanting to do that.
I hope this helps.
本文标签: Change amount of text displayed on homepage posts
版权声明:本文标题:Change amount of text displayed on homepage posts 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742263147a2442890.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论