WordPress.org

Ready to get started?Download WordPress

Forums

Searching and getting rid of "Read the rest of this entry »" (5 posts)

  1. chmura
    Member
    Posted 5 years ago #

    Is there a way to get rid of "Read the rest of this entry »" while making a search on the blog? I want it to display the full post.

  2. haochi
    Member
    Posted 5 years ago #

    Edit your search.php file in your theme directory.

    I don't know what theme you are using so can't tell you exactly what to remove, but most likely you would find "the_excerpt()" there and if you do, replace that with "the_content()".

  3. chmura
    Member
    Posted 5 years ago #

    I don't see excerpt anywhere in the search.php file I do however have the_content text and still shows Read the rest of this entry
    Heres the code for my search file
    http://www.homefurnituredesign.net/search.txt

  4. haochi
    Member
    Posted 5 years ago #

    You used the <!--more--> tag to separate your content in your posts, that's why. If you are using the acosmin them then it should display the same way on the homepage.

  5. chmura
    Member
    Posted 5 years ago #

    Yes that's right so there's no way around it?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.