Forums › Forums › Search & Filter Pro › Adding new fields with ACF
- This topic has 3 replies, 3 voices, and was last updated 3 years, 11 months ago by Ross.
-
Anonymous(Private) January 22, 2021 at 7:52 pm #273746
Your documentation has a page that references support for ACF (https://searchandfilter.com/documentation/getting-started/adding-new-fields/) but one of the links in that section is broken and the other just links to ACF’s site. I can’t figure out how to make a dropdown option for an ACF field. Help!
Trevor(Private) January 23, 2021 at 10:42 am #273767You should be able to access and search ACF fields. They are Post Meta field objects in the Form UI.
Note that, with fields made by ACF, when selecting the meta key, note a ‘gotcha’ with ACF ….
… it makes 3 meta keys per field, like this (in this example for a field named ‘land’):
#1
_land
#2field_52f0fc4334f52
#3land
In our Meta Key selection list, you need to use key #3, without the underscore at the start of the key name. If you choose #1 by mistake, in the field choices you will see the name of #2.
The fields will only show in the list if you have actually entered data in those fields inside posts and saved them. To define them alone without doing that, they will not show up, as our plugin does not look at the Field Group definitions, but at the actual data stored in the Post Meta table.
Ross Moderator(Private) January 25, 2021 at 3:19 pm #273903Hi Mary
In the “post meta” field, you have 3 tabs:
number, choice, date
If you choose the
choice
tab, I think you will get the options you want?Best
-
AuthorPosts