You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Option to allow multiple selected values on single filter #13
Selected terms are joined into one query var as a comma-separated slug list (?query-12-category=news,features) and expanded into a tax_query with 'operator' => 'IN' — so multiple terms within one taxonomy are OR'd, while separate filter blocks on the same loop are AND'd. Also worth knowing about, from the same work: maxVisibleTerms + showAllLabel collapse long term lists behind a "See all" toggle, and includeTerms / excludeTerms curate which terms appear.
Leaving this open for the remaining part of the original request — showing term hierarchy in the filter (indented parent/child rather than a flat list), which isn't implemented. #10 covers the related case of listing only the children of a given parent term.
Activity
nick-novak commentedon Feb 20, 2025
I think a checkbox display option would be wonderful!
samikeijonen commentedon Apr 20, 2025
This would be great!
Allow multiple choices using checkboxes
dalemoore commentedon Dec 5, 2025
I tested this and it seems to work!
hanneslsm commentedon Dec 17, 2025
I also tested the PR #20
Would love to see this included 😃
davidallenlewis commentedon Feb 25, 2026
Would also love to see this merged
roborourke commentedon Sep 2, 2026
@bmx269 @nick-novak @samikeijonen @dalemoore @hanneslsm @davidallenlewis — the main ask here has shipped, released in 0.3.0 and available in the current v0.4.1.
On the Taxonomy Filter block (and the Post Type Filter), in the block sidebar:
Select (Dropdown),Radio (Single Choice), orCheckbox (Multiple Choice)for multi-selectOr directly in a template via the
displayType/layoutDirectionattributes:<!-- wp:query-filter/taxonomy {"taxonomy":"category","displayType":"checkbox","layoutDirection":"horizontal"} /-->Selected terms are joined into one query var as a comma-separated slug list (
?query-12-category=news,features) and expanded into atax_querywith'operator' => 'IN'— so multiple terms within one taxonomy are OR'd, while separate filter blocks on the same loop are AND'd. Also worth knowing about, from the same work:maxVisibleTerms+showAllLabelcollapse long term lists behind a "See all" toggle, andincludeTerms/excludeTermscurate which terms appear.Leaving this open for the remaining part of the original request — showing term hierarchy in the filter (indented parent/child rather than a flat list), which isn't implemented. #10 covers the related case of listing only the children of a given parent term.
Generated by Claude Code