Hi,
I’m trying to build a dynamic taxonomy interlinking section in Bricks 2.3.9.
Setup:
- Query Loop
- Type: Terms
- Taxonomy: base_alcoholica
- PHP Query Editor enabled
My goal is to display only the taxonomy terms selected in an ACF Taxonomy field.
As a simple test, I tried:
return [
‘taxonomy’ => ‘base_alcoholica’,
‘include’ => [1],
‘hide_empty’ => false,
];
However, the Query Loop still returns all terms instead of only the term with ID 1.
I also tried:
$query_vars[‘include’] = [1];
$query_vars[‘hide_empty’] = false;
return $query_vars;
with the same result.
Questions:
- Does the PHP Query Editor for a Terms query return the final WP_Term_Query arguments?
- Is the ‘include’ parameter supported?
- Are the returned query vars merged with Bricks internal query vars?
- Is the recommended approach to use the
bricks/terms/query_varsfilter instead? - What is the recommended way to query an ACF Taxonomy field and display only those selected terms inside a Bricks Terms Query Loop?
Thanks!

