Forums › Forums › Search & Filter Pro › How to show Advanced Custom Field checkboxes
Tagged: acf, checkboxes
- This topic has 7 replies, 2 voices, and was last updated 8 years, 7 months ago by Anonymous.
-
Anonymous(Private) April 8, 2016 at 11:26 pm #42115
Hi, I just purchased your plugin and I’ve tried to find this information on your website, but haven’t so far. I’m using Advanced Custom Fields (local site so nothing to see) — I have, for example, a checkbox field called “Insurance” that lists about 20 types of insurance, a provider can have more than one type checked. I want users to be able to search by insurance type, so I need a search field labeled “Insurance” with the same checkboxes I have in the ACF field.
I set up a post-meta field for _insurance, clicked the “ACF Field” box, input type “Checkbox” — all I get is a checkbox with “field_5707e44d4642d(0)” under Insurance in the search form. Are there instructions I’ve missed for working with ACF fields? Love the movie demo — hope that I can get this working. Thanks!
Anonymous(Private) April 10, 2016 at 10:33 pm #42206Hi and thanks so much for your quick reply! That worked, in that it brought up all of the choices for the “insurance” custom field. But somehow it is not connecting to my custom post type — there is a (0) next to each insurance type, when some should show (1), and a search brings up no results. I’ve gone through the configuration and am probably missing something obvious. In “General Settings” I’ve selected my custom post type (“Therapists”) with a field relationship of “AND” and “Detect Defaults” is set to “Post Type Archives”. Everything else I’ve left at the default setting — “Post Meta” is set at “insurance char =”. I also tried switching to the 2016 theme, same results. Thanks in advance for your help with this.
-
AuthorPosts