Home › Forums › General Issues › WP_Query with meta_query on a subfield within a group field › Reply To: WP_Query with meta_query on a subfield within a group field
Sorry for delay, so I was trying two things at once..
• Meta_query without post_object field in a group
• Meta_query on a post_object field that is not multi-select
The first is obvious as you pointed out but is dependant on the second
Am I correct in thinking that for the second I would need to omit the double quotes?
'value' => $instrument,
'value' => '"'.$instrument.'"',
What about compare? Should I use LIKE or IN for single post_object?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.