Home › Forums › General Issues › WP archive with two or more filter › Reply To: WP archive with two or more filter
I was able to fix my error with the checkboxes of field options by changing the field name to the field key like so (for both custom fields):
$field = get_field_object('field_54d4ec8875f85');
$field2 = get_field_object('field_54d4e73975f79');
I referenced this: http://www.advancedcustomfields.com/resources/get_field_object/
Now I just need to sort out how to change the javascript to apply both custom filters. I’ll report back if I figure it out.
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.