Navigation überspringen

[Gelöst] Create Custom Dropdown from Custom fields

This support ticket is created vor 4 years, 7 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Zeitzone des Unterstützers: America/Jamaica (GMT-05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von mohamedE-6 vor 4 years, 7 months.

Assistiert von: Shane.

Author
Artikel
#2224183
custom_fields.png

Hi, I have created custom field types (dropdown) and want to use the entries on a script in another plugin (functions.php) . How can I select the fields values and use this in my custom plugin module ? I created a custom field from Toolset > Custom Fields. Please see below image for further info. Thanks

#2224301

Shane
Unterstützer

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Mohamed,

Thank you for getting in touch.

It won't be possible to pull this list directly as it is stored in the wp_options table inside the database and there isn't an API available to pull the list from there.

We can only pull the selected value on a custom post type when viewing a post but not the entire list as it is stored in the field options.

Thanks,
Shane

#2224645

My issue is resolved now. Thank you!