WordPress.org

Ready to get started?Download WordPress

Forums

Displaying the first 2 paragraphs of each post? (2 posts)

  1. zoo
    Member
    Posted 9 years ago #

    Is there a way to display the first 2 paragraphs from each post and then a 'more' style link to link to the full post?

    The archive page is seperate from this page (different file with a different template) so it doesn't matter if it messes up how the posts are displayed when you call a post via its permalink.

    Had a bash at searching the forums but couldn't find any relevent...

    Cheers,
    Rick

  2. NuclearMoose
    Member
    Posted 9 years ago #

    Rick,

    Type in two paragraphs, then use the <!--more--> quicktag, then continue typing the rest of the article. You can put the quicktag anywhere you like.

    I also highly recommend putting the quicktag on its own line, with no blank lines above or below it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.