Forums Forums Search & Filter Pro Adding new fields with ACF

Viewing 4 posts - 1 through 4 (of 4 total)
  • Anonymous
    #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
    #273767

    You 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
    #2 field_52f0fc4334f52
    #3 land

    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.

    Anonymous
    #273893

    Yessir I get that, but it’s only allowing me to add it as a range-slider/range-dropdown, etc.. For example, I’m building an archive of local businesses and I need a dropdown by industry, which is a custom field. How do I make that happen?

    Ross Moderator
    #273903

    Hi 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

Viewing 4 posts - 1 through 4 (of 4 total)