Currently I have 2 custom post types -> Events and Food. Whenever I'm posting something I use taxonomies to act like categories for them.

The problem I have is: when I'm inside a taxonomy archive it shows my sidebar containing "Search" and "Categories" but I want "Search" to query only posts from that custom post type and "Categories" to show only those taxonomies from my custom post type (not categories).

Is it possible? Can someone give me an advice to start? I'm using a bought theme from TF.

1 Answer 1


You can create your own custom widget for search and term list and use some plugins that managed visiblity of it like Display Widgets or try look for some complex search plugin, maybe Relevanssi can do what you want

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.