Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mai Term Grid doesn't pull multiple taxonomies #638

Open
shay328 opened this issue Dec 5, 2023 · 1 comment
Open

Mai Term Grid doesn't pull multiple taxonomies #638

shay328 opened this issue Dec 5, 2023 · 1 comment

Comments

@shay328
Copy link

shay328 commented Dec 5, 2023

This Mai Term Grid block is only pulling the first taxonomy.

It may be a limitation of the ACF field using `https://developer.wordpress.org/reference/functions/is_taxonomy_hierarchical/ and other functions that only allow one.

Screen Shot on 2023-12-05 at 12-56-38

CleanShot 2023-12-05 at 13 12 42

@JiveDig
Copy link
Contributor

JiveDig commented Dec 28, 2023

Thanks for documenting this Sam. After digging in, it's currently a limitation of the Taxonomy field in ACF. There may be a way to convert this field to a generic multiselect field and load the terms, but IDK if it's worth it. If there is a taxonomy with a lot of terms, ACF handles the lazy-load/search, which is really nice. I vote we leave as-is since it's not often used this way. It likely can be done with the mai_term_grid_query_args filter too.

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

No branches or pull requests

2 participants