• hey there
    in my blog, when someone is searching for something and get his results he needs to click one of them to enter the post.
    I have alot of posts with images which are relavent for the user’s search, but when searching, images are not shown, you need to enter the post itself to see it all.
    my question is there an option that when users search, wp will show the entire posts relavent for their search without the needing to enter each post? just like they see it in my main page?
    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your theme may have a file called search.php that dictates how search pages are displayed. If it does, you should be able to edit the code in that file to display the full text of the posts using the_content().

    Hi,

    You need to edit search.php file of your theme and find this code:

    the_excerpt

    Replace with:

    the_content

    It will resolve your concern

    Shane G.

    Thread Starter punkass

    (@punkass)

    thanks! works perfect!
    another thing:
    if I want the same thing also when users browse by categories? where do I change that?
    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show entire posts when searching?’ is closed to new replies.