Home › Forums › General Issues › Issue with meta_query and ACF › Reply To: Issue with meta_query and ACF
It’s odd, but this still doesn’t work –
$args = array( 'post_type' => 'project', 'meta_query' => array('key' => 'homepage_slide', 'value' => '1'));
I will check out a debug plugin and see if I see anything wrong.
Just curious, if you were trying to do the same thing (add slides to a slideshow only if the homepage_slide field was completed), how would you write the query?
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.