- This topic has 2 replies, 2 voices, and was last updated 11 years, 2 months ago by .
- The topic ‘Home page top post excerpt – Balance theme’ is closed to new replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
In my Balance theme blog I'd like to limit the length of the post show at the top to the first two paragraphs, instead of showing the whole post.
So far I've figured out how to limit the length to, for instance, 200 characters by changing the code in home.php to:
'feature_content_limit' => 200,
but that's an unsatifactory way of doing it as it cuts sentences in the middle. Does anyone know how to limit post length by paragraph?
There used to be a plug-in that would allow you to display excerpts by paragraph, but it is no longer supported. The only way I know to do it is on a per-post basis by using the <!--more--> tag within the body of the post to cut off your content where you want.
Thanks, Susan. That should do the trick.
© 2024 WPEngine, Inc.