Home › Forums › ACF PRO › Query posts by checkbox value (dynamically) › Reply To: Query posts by checkbox value (dynamically)
I don’t know what is going on. I checked the change I made per your advice and it is retrieving the correct posts. It’s grabbing all the ones that have at least one of the same checkbox values while omitting those that didn’t.
But I just tried reverting back to use just $subject
rather than '"'.$subject.'"'
and now it’s working as it should. Besides adding post__not_id
to exclude the current post, everything is the same as it was when it wasn’t working for me. Strange.
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.