Forums

show only first paragraph (3 posts)

  1. fksr86
    Member
    Posted 1 year ago #

    is there a way to show just first paragraph on my home page?

    the_excerpt shows text without formatation and it's not what i want…

  2. scribblerguy
    Member
    Posted 1 year ago #

    You can manually add text to the excerpt field on the "Write Post" page when you create a new post (or edit an existing post). Copy the first paragraph from your post and drop it into the excerpt field. Though, you'll have to add formatting such as <strong> and <em>.

    See the Codex page: the_excerpt for more information.

  3. Chris_K
    Administrator
    Posted 1 year ago #

    Or you could click the "More" tag to put the "read more" break exactly where you want it.

Topic Closed

This topic has been closed to new replies.

About this Topic