I'm working on an employment website. It's got 3 custom post types (CPT): employer, employee, and jobs. Each of these custom post types shares an Industry taxonomy. If I was just searching on one custom post type, I understand how to set up a filter with the taxonomy. What is the best way to set up a search on a view with all of these custom post types? Can I use the same widget or will I need one for each of the custom post types? Please let me know if I can provide more information on my request. Thank you.
Hi Collin,
Thank you for contacting us and I'd be happy to assist.
If your custom taxonomy is shared by multiple custom post types, its search filter will also work for all those post types.
You'll create a new post view and in the "Content Selection" select all those post types ( i.e. employer, employee, and jobs ).
Next, you'll add the search filter for this taxonomy, the same way as you'll add it in a view with a single post type.
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
My issue is resolved now. Thank you!