The default checkbox setup seems to be like in post edit forms. So all checkboxes load and those those options which were used in posts are checked. So, in order to filter something, I have to unselect some checkboxes. And selecting any unchecked checkboxes usually does not change the selection of posts, as those options were not used anyway.
The checkboxes in the frontend are loaded by using the function create_field( $field )
. I haven’t found much on this function, but do you have any idea if it is at all possible to achieve a “normal” filtering behaviour on the archive pages, i.e. only showing used options (but unchecked) and filtering posts by checking boxes?
Any help in this is greatly appreciated! Thank you!
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users