Open maximilliangeorge opened 1 year ago
To clarify, I can only get this to work with the default categories and tags. Not for custom taxonomies.
Hi @maximilliangeorge, we are definitely looking to support this feature in the future, thanks for a dropping a note, this helps us to prioritise :)
@maximilliangeorge I have started work on supporting custom post types as well as custom taxonomies, Right now there is filtering support on this branch: https://github.com/wpengine/wp-graphql-filter-query/tree/add-support-for-custom-taxonomies
You can see the PR and description here https://github.com/wpengine/wp-graphql-filter-query/pull/38
Feel free to give this a try, we'll be continuing to progress this to the main branch once aggregation support is added for custom taxonomies.
@ToughCrab24 do you think we can have a release version of this branch we can use as-in to just drop the zip into wordpress ? thanks !
Hi @nestarz there appears to be a bug with using custom taxonomies defined by ACF on the branch, I might be able to grab some time tomorrow to take a look.
You can get a zip by navigating here: https://github.com/wpengine/wp-graphql-filter-query/tree/add-support-for-custom-taxonomies
And clicking Code then Download Zip
You can upload it to WordPress using the plugins page once you have the zip
This plugin seems really promising for my use case. However, I was hoping to extend the filtering to allow a few custom taxonomies.
Is this currently planned? I cloned the repo to try to take a stab at it but wanted to check in here first.