This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
Filtering ACF options page by language #52
Labels
enhancement
New feature or request
todo after v4 release
topic: WordPress
Related to Gatsby's integration with WordPress
Hi,
Current Problem
I'm using ACF and Polylang to handle my options pages. I've managed to get the GraphQL query work in WP, to get the options by language, using a filter:
but the schema in Gatsby is different, and I cannot filter by language or get a list of all the nodes for each language. I can only write this query, which will return only the default language node:
Possible solution
It would be great to be able to do something along the lines of
or having the query returns nodes for every language with a
language
field, so I can filter in my code.It is not a blocking issue, as I can just give up using Options and create a custom type for handling these settings. But the UI would be easier to understand for a content editor.
Thank you for all the work on this plugin!
Regards,
Pierre
The text was updated successfully, but these errors were encountered: