Category Search

Category Search

Vladimir Prelovac

Category Search adds the option to display category names in search results. Useful when you have a lot of categories and you want to display them as a part of search results.

Plugin by Vladimir Prelovac.

License

This file is part of Category Search.

Category Search is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Category Search is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Category Search. If not, see http://www.gnu.org/licenses/.

How do I correctly use this plugin?

In order for category search results to show you need to add the follwoing code to your theme search.php template.

Show(); ?>

  1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin.
  3. Use the Options page to change your options
  4. Use the following code in your theme template most probably Search Results (search.php)

Show(); ?>

Also, CategorySearch is fully compatible with wp_list_categories()

This mean you can further tweak the category search results by adding additional parameters. Example:

$CategorySearch->Show(‘orderby=count’);

Reviews

0 out of 5 stars

  • Version: 1.0.2
  • Last updated: 9 years ago
  • Active installations: 40
  • WordPress version: 2.0
  • Tested up to: 4.2.38
  • PHP version: false