WordPress.org

Ready to get started?Download WordPress

Forums

Enabling "Read More" functionality - how do I? (5 posts)

  1. sportsguy
    Member
    Posted 7 years ago #

    I want to only show a snippet of each post on the main page, and have the link "more..." for users to click and read the rest of the post (or, more accurately, for them to see the full post).

    I went into the Admin panel but cannot find anything in there to enable this functionality.

    Please help.

    Do I need to add a small bit of code to one of the theme templates to get this working?

  2. Doodlebee
    Member
    Posted 7 years ago #

    in your theme files, find the_content() and replace it with the_excerpt()

  3. sportsguy
    Member
    Posted 7 years ago #

    Thanks doodlebee. :)

    Further research also turned up the <!--more--> function, too...

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    Forget the_excerpt().. The more tag is the correct way to do this.

  5. Doodlebee
    Member
    Posted 7 years ago #

    Apologies - he said he wanted "a snippet of post" to show up. That said "excerpt" to me.

Topic Closed

This topic has been closed to new replies.

About this Topic