Forums Forums Search & Filter Pro Problems with dropdown and custom post type values

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #274091

    Hello,
    I’m trying to activate a search form with a “Post Type”, input type “dropdown” and selected the checkbox for that specific post type.
    However, in the page of the website where is available the form, I can’t see in the dropdown all the list but only a unique value, the name of the custom post type.

    I’ve a custom post type “medical laboratory” (created with CPT UI and ACF), and I’d like to have in the dropdown all the names of the medical labs.
    Is there a tutorial to explain me how to do it?
    Thanks.
    Regards,
    Michele

    Anonymous
    #274105

    Fixed.
    It was necessary to use “Post Meta”.

    Trevor
    #274108

    I wonder if this is the issue:

    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.

    Anonymous
    #274135

    Thanks!

    Trevor
    #274137

    Thanks for getting back to me. I will close this thread for now.

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