WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Onle want a few lines of a post on FRONT page (4 posts)

  1. brentk7
    Member
    Posted 6 years ago #

    Hello. I did a quick search for this on the forums here to see if the question had already been asked and answered but I came up with nothing.

    Anyway on my wordpress I have some very long posts. Is there a way to make it so that on the front page it will only show X number (probably 10-15) lines of each the post, instead of the entire post, and will have a "read more" button (or something to that effect) after those X number of lines if the reader wants to read more?

    Thanks all!

  2. MichaelH
    Member
    Posted 6 years ago #

    The <!--more--> used with the Template Tag, the_content, is one approach.

  3. brentk7
    Member
    Posted 6 years ago #

    This seems to be what i'm looking for. My problem is I am having a little trouble understanding exactly how it works. Can anyone elaborate? Thanks!

  4. brentk7
    Member
    Posted 6 years ago #

    oh nvm, i totally got it. Thanks for the help guys!

Topic Closed

This topic has been closed to new replies.

About this Topic