I Want A Code That Searches for Categories and Not Posts
(I Dont Want Posts to Appear in Search Results. I want Categories to Appear in Search Results)
Simple Right?
Buzu B answers:
I can build you a plugin for that. I will send you a message with my contact information.
Buzu.
Dan | gteh answers:
Use this plugin
http://wordpress.org/extend/plugins/search-everything/
Completely customize your search results including the ability to exclude and include categories and tags.
Marvin Shaker comments:
Thats Not What I Want, The Description is Clear. I Dont Want Posts to Appear in Search Results. I want Categories to Appear in Search Results
Cosmin Popovici answers:
Use this plugin: [[LINK href="http://wordpress.org/extend/plugins/wp-custom-fields-search/"]]http://wordpress.org/extend/plugins/wp-custom-fields-search/[[/LINK]]
Read the Other Notes:
<blockquote>Data Type controls what type of data is being searched (i.e. what database table is being used). The standard options are "Post Field" for data such as post title and post content, from the standard wordpress post data, "Custom Field" for data from the custom fields, <strong>and "Category" to search on the categories a post is in</strong>.</blockquote>
Marvin Shaker comments:
I Want something like if i have a category named Dogs
When I type Dog in the Search Box
The Result Will Be the Categories Related to that. Not The Posts