WordPress.org

Support

Support » Plugins and Hacks » Search resulting in a List of Post Titles?

Search resulting in a List of Post Titles?

  • 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!

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Search resulting in a List of Post Titles?’ is closed to new replies.
Skip to toolbar