Home › Forums › General Issues › Trouble filter query on acf checkbox value and $paged › Reply To: Trouble filter query on acf checkbox value and $paged
I’m not sure about the field group setup you have, but I believe you need to set the “key” option with the field name like this:
array(
'key' => 'custom_field_name',
'value' => 'speight architecture',
'compare' => 'LIKE'
)
Please change the “custom_field_name” with the field name you have.
Hope this helps.
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.