Home › Forums › General Issues › Archive Filter with Multiple Values Select Field › Reply To: Archive Filter with Multiple Values Select Field
Okay, it’s working almost the way it should. It’s only working if I have the Select field set to return “Values” and not “Labels”.
I can, however, get it to work with “Labels” if I change a line to
$values = get_field('classes', $post_id, false);
But then it only shows one result at a time. Like if multiple posts have a class value of “8”, it’s only displaying one.
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.