Home page top post excerpt – Balance theme

Community Forums Forums Design Tips and Tricks Home page top post excerpt – Balance theme

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  mariafernandez 1 year, 10 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6611

    mariafernandez
    Participant
    Post count: 19

    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?

    #6827

    Susan
    Moderator
    Post count: 9254

    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.


    Susan @ Graphically Designing I offer theme customizations I tweet!
    I’ve taken up the challenge! – help me answer some of the unanswered posts

    #6901

    mariafernandez
    Participant
    Post count: 19

    Thanks, Susan. That should do the trick.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Home page top post excerpt – Balance theme’ is closed to new replies.