Skip to content

Conversation

@scottpoulin
Copy link

The taxonomy filter pulldown will display all terms from that taxonomy, regardless of whether the parent query loop is using taxonomy filtering or not.

It seems to me that if you're limiting the terms in a query loop, the filter pulldown should be limited to those same terms - otherwise you can select a term that's not in the query loop's result set and get "nothing found."

This branch handles this situation, both for filtering via the standard Gutenberg taxonomy filter and Advance Query Loop's implementation. Note that the latter is only partially supported due to limitations in WP's get_terms function - specifically, only IN and NOT IN operators are supported, and multiple term queries must use the OR relation.

@tabbplomaritas
Copy link

This is a much needed improvement if this fix works. Hoping Humanmade can review and merge this soon!

@zamartz
Copy link

zamartz commented Nov 21, 2025

Agree! need this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants