Guys,
I’m slow – It looks like Elliot solved it on this thread – But the problem was someone else’s answer was highlighted with code (and I mistakenly thought theirs was the solution when it’s not). Elliot’s response here (which is the solution and easiest possible thing to do) –
From this page – https://support.advancedcustomfields.com/forums/topic/meta-query-for-post-object/
Your meta key will need to be the name of the field, and your meta value will need to be the $post_id
Hope this helps others in the future,
T
John,
Is there any way at all to search post objects? We have used post objects on hundreds of pages, and I’m just trying to search the pages (meta_query) by the post object selected. Is that not possible?