Home › Forums › General Issues › WP_Query based on ACF-field (Radio buttons) not working! › Reply To: WP_Query based on ACF-field (Radio buttons) not working!
A couple of things, if you want multi-select then you have to use Checkbox, Radio Buttons are never multi-select.
It looks like you need to get_post
before you call your query. If you visit the Checkbox documentation and review the Query Posts section you will see the code you need. https://www.advancedcustomfields.com/resources/checkbox/
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.