Home › Forums › General Issues › Filtering Archives Using Checkbox Custom Fields › Reply To: Filtering Archives Using Checkbox Custom Fields
Hi @realph
Please note that the referenced tutorial is an example, and shoudl not be used literaly in all scenarios.
Please read the checkbox docs to see how the LIKE compare is needed to search within an array value:
http://www.advancedcustomfields.com/resources/field-types/checkbox/
Your $_GET param looks good (didn’t this start on another tread? If so, can we please keep all conversations within the same thread). You need to explode the $_GET param to obtain an array of all checkbox values, then loop over them and construct WP_Query args.
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.