I am wondering if it is possible to Query using the query block using the meta argument based on an AcF field?
I can easily create a query by post type or specific taxonomies and mix these arguments.
Although if i add to it a meta based on acf fields then nothing works anymore, sometimes to the point it creates WP fatal errors (if i use a term query with meta instead of a post with meta) or just not display and even break the query block having to delete it and start over in order to get anything working…
Am I the only one?
If so can anyone show me the right way to do so?
Thank you in advance I feel like I spent a whole week on this without finding anything conclusive…
If I add in the Query block modal
Meta Query
with Meta Key set to an ACF field country
with value as USA and string and compare set to ‘=’ (I also tried ‘LIKE’ with same result)
then nothing appears (even If I have matching records)
and the Query code becomes