Support

Account

Home Forums General Issues How to search by post object? Reply To: How to search by post object?

  • 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