WordPress.org

Forums

Modifying "Search" to search entire site, not just Blog (3 posts)

  1. EcoGraphic
    Member
    Posted 9 years ago #

    I would like to be able to modify my search function so that it will search my entire site, not just my Blog archives. When I look through the code in K2, WordPress 2.0 it looks to me like I should easily be able to change this, just not sure what code to insert in the searchform.php page to make this work.

  2. tcsmith3
    Member
    Posted 9 years ago #

    If you are using the livesearch feature with K2,that is wp database dependent. You could try adding a google search box to your site with the option to search the entire site. That's definitely the easiest thing to do. Styling is lame, but it will definitely return results for the entire site.

  3. sparklu
    Member
    Posted 9 years ago #

    You can install the plugin Search Everything found at:
    http://dancameron.org/wordpress/wordpress-plugins/search-everything-wordpress-plugin/
    It works quite well.

Topic Closed

This topic has been closed to new replies.

About this Topic