Problems with dropdown and custom post type values

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)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.