Hiding unwanted Categories from Search Dropdown Menus
-
Hello!
I have Geo my WP installed and am using the search widget in several areas on my site to help with searching some custom post types created.
One of the post types, Listings, has two taxonomy types associated with it: Stores & Classes.
I have setup the Categories to make Stores & Classes the Parent and all other categories as children underneath.
My question then, is there a way to hide Store Categories on the Search Widget Category dropdown thats for searching Classes and vice versa?
As it stands right now, going to search for Classes while on the Classes page using the shortcode to output the search as a widget it will also show Store Categories as both are the Listing Post type and I guess it just lists all categories attached to the post type, is there a way to hide/filter the un-wanted categories from the dropdown list?
- The topic ‘Hiding unwanted Categories from Search Dropdown Menus’ is closed to new replies.