Search resulting in a List of Post Titles? (2 posts)

  1. clublakers
    Posted 9 years ago #

    Is it possible to have list of Post Titles display as the result of a search?

    I have also found that using the search tool when viewing a category of posts will only return results from within that category. Is it possible to have the search function scour the entire website regardless of the current category?


  2. moshu
    Posted 9 years ago #

    Starting with the last question: then there is something wrong with that install/theme.
    (Just checked, and it should search the whole WP blog)

    For displaying only the titles - you'll need a special template file, search.php. If I remember well it is documented somewhere in the Codex, but basically you remove the_content tag and everything else you don't need from the template; you can start by saving your index by the name above and edit it.

Topic Closed

This topic has been closed to new replies.

About this Topic