Home › Forums › Backend Issues (wp-admin) › WP Query – Multiple values in ACF Checkbox › Reply To: WP Query – Multiple values in ACF Checkbox
That will work too. You just need to nest part of the query to that you can use “OR” for parts and use “AND” for other parts.
The problem with doing a lot of like queries is speed. More than likely the nested like query is overtaxing the connection.
I’m going to be honest with you here. If i needed to query a checkbox field I would convert the ACF values into a standard WP meta field. Although if could be difficult if you already have a lot of content on the site.
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.