Skip Navigation

[Resolved] Custom Taxonomy as Dropdown

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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 2 replies, has 2 voices.

Last updated by ramK-4 6 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#610942
Custom_Taxonomy_As_Select.png
Custom_Taxonomy.png

Hi There

I managed to display the Custom Taxonomy as a select but I want to display as dropdown --
Is this possible now?

<strong>Location Taxonomy Select</strong>
	<div class="form-group">
		<label>[wpml-string context='cred-form-Add Agent-956' name='Locations']Locations[/wpml-string]</label>
		[cred_field field='location' display='select' output='bootstrap']
		[cred_field field='location_add_new' taxonomy='location' type='add_new']
	</div>

I am using one of the training sites

#610968

Hello,

You can try to add attribute "single_select" into the shortcode [cred_field], for example:
[cred_field field='location' display='select' single_select="true" output='bootstrap']

More help:
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field
single_select. Optional. Boolean. If the display=select argument is set, then single_select=true will only allow a single option to be selected (by default multiple options can be selected). Defaults to false.

#610992

Thanks that worked fine.

The forum ‘Types Community Support’ is closed to new topics and replies.