ACFs with Post Meta query
-
I want to use the Post Meta query functionality to query by ACF fields. How can I get the right ACF field? Is it just the field name shown in ACF, or do they have some kind of prefix/other formatting I need to account for? Is there some place I can look and see the field names? What about the value? If an admin has entered ‘orange’ into a text field, your examples make it look like I should put in the text ‘orange’ without the quotes.
Also, my particular use case is that I want to show all posts that link to a certain post in an ACF Relationship. Do I need to specify the value in some special way? The stored value is in an array.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘ACFs with Post Meta query’ is closed to new replies.