Forums › Forums › Search & Filter Pro › Problems with dropdown and custom post type values
- This topic has 4 replies, 2 voices, and was last updated 5 years, 8 months ago by
Trevor.
-
Anonymous(Private) January 26, 2021 at 5:58 pm #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,
MicheleTrevor(Private) January 26, 2021 at 6:47 pm #274108I 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
#2field_52f0fc4334f52
#3landIn 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.
-
AuthorPosts