How to Use the Query Filter with Multi-Select Buttons (One Button = Multiple Slugs)

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 or Smart Building from seminar CPT).
  • Out of the box, the Query Filter buttons only accept a single slug/value per button.

Questions:

  1. Is there a way in Bricks 2.0’s Query Filter to map one button to multiple term slugs?
  2. If not, could this be solved with custom ACF fields or a small snippet (shortcode or filter hook) to extend the Query Filter?
  3. 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!

Is it possible? Does anyone try this?

With one term works perfect, but I need two.

Assign the taxonomy for both CPTs and this should work from the box

Can you please show me exactly where you mean, where I can select both CPTs?

In your taxonomy setting (I don’t know a tool you’re using: ACF, Metabox, JE)

Thank you for your feedback. I use ACF Fields.