I have 4 post types: SHOWS, BANDS, VENUES, CONCERT SERIES
SHOWS has a parent-child relationship with BANDS, VENUES, CONCERT SERIES
I want to create a parametric search that allows you to filter SHOWS via Band, Venue and/or Concert Series.
When I tried to create, it seems that I can only choose ONE child for a filter. Is that true or am I missing something...?
Hi, you are correct, and unfortunately this is a limitation of the current software: only one post relationship filter is supported per custom search view. The exception to that rule is multi-generational filters for chained parent-child relationships. For example, let's say you have Grandparent, Parent, and Child posts. You have a one-to-many relationship between Grandparent (one) and Parent (many) posts, and you have another one-to-many relationship between Parent (one) and Child (many) posts. This chained setup would allow you to filter child posts by Grandparent and by Parent.
While it is only possible to use one post relationship Query Filter, it is possible to use multiple taxonomy filters and multiple custom field filters. With that in mind, is it possible to utilize either of those as an alternative? If you need the features of a post (custom post url, custom fields applied to the post type, etc.), it may not be sufficient. In those cases, some custom code may be required to implement this type of search feature.