Custom sidebar for custom post type

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.

Read more here:: Custom sidebar for custom post type

Leave a Reply

Your email address will not be published. Required fields are marked *