Hi everyone,
I’m building a Bricks 2.0 site with a Query Loop that shows posts from two CPTs (seminar
and webinar
). I’m using the new Query Filter element to let users click buttons and instantly (AJAX) filter the loop by taxonomy.
My specific challenge:
- I need one button (e.g. labeled “Smart Building”) to filter by two term slugs at the same time (for example
Smart Building
from webinar orSmart Building
from seminar CPT). - Out of the box, the Query Filter buttons only accept a single slug/value per button.
Questions:
- Is there a way in Bricks 2.0’s Query Filter to map one button to multiple term slugs?
- If not, could this be solved with custom ACF fields or a small snippet (shortcode or filter hook) to extend the Query Filter?
- Are there any recommended workarounds or best practices for multi-slug button filtering in Bricks 2.0?
I appreciate any pointers, example settings, or code snippets that would let me click “Smart Building” and have the loop show posts tagged with either Smart Building
or Smart Building
.
Thanks so much!