Home › Forums › General Issues › Issue with meta_query and ACF › Reply To: Issue with meta_query and ACF
Hi @cutout
I don’t think you have yet explained what type of field is ‘homepage_slide’.
Am I right in assuming it is a gallery or repeater field?
If so, the value will not be ‘1’.
Perhaps you will need to use some of WP COMPARE query args to look for EXISTS or event ‘> 1’
You may even find that removing the value param will allow WP to just find connections but not compare the actual value
Good luck
Thanks
E
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.