Skip Navigation

[Resolved] add a taxonomy selector as custom field

This support ticket is created 6 years, 6 months ago. 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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 6 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1077577

Hi,

I'm workinig on a project that has a custom post type, in wich some custom fields only show up if the taxonomy is the desired one. Is there a way to set up a select box with the taxonomies of a specific custom post type?

Thanks

#1078277

Hello,

I assume we are talking about Toolset post form, and you are using [cred_field] shortcode to output the taxonomy field.

If it is, yes, it is possible by setup the attributes of shortcode [cred_field], for example:

[cred_field field="my-taxonomy" ... display="select" single_select="true"]

More help:
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field
single_select.
If the display=select argument is set, then single_select=true will only allow a single option to be selected