WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. clublakers
    Member
    Posted 7 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?

    Thanks!

  2. moshu
    Member
    Posted 7 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

Tags