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.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742263148a4411283.html
评论列表(0条)