-
Notifications
You must be signed in to change notification settings - Fork 18
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
Filtering by categories using MetaQuery in GraphQl #28
Comments
@FuturisticWizard so categories is the meta_key that is stored in the post_meta table correct? Is this an acf field? If that's the case, to be honest I would just use a hook and create your own custom where clause on your blogposts node register_graphql_field('RootQueryToRatingReviewConnectionWhereArgs'); Below I had to add a stateMoveFrom and a cityMovedFrom which are acf fields on custom post type. Then you can build out a meta_query
|
Hello I have problem with filtering inside metaQuery . I asked a question on discord : https://discord.com/channels/838854618406453300/918553064703680542/1292095799169126461
I cant target categories/name. How to do that ? I beg for help !!!
The text was updated successfully, but these errors were encountered: