Skip Navigation

[Gelöst] How to display User custom 'Select' field on front end with shortcode

This support ticket is created vor 1 Jahr, 3 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Dieses Thema enthält 1 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von Anthony vor 1 Jahr, 3 Monaten.

Author
Artikel
#2636101

I have a custom User field "user-department" - it's a Select field with five possible values - that I want to display in the header on the front end with a shortcode. I'm trying with

[types usermeta='user-department' current-user='true'][/type]

but that is not displaying the correct value...

#2636107

I'm getting closer - now I'm using the following:

[wpv-user field="wpcf-user-department"]

and that is displaying the correct department slug ("art-dep") - how do I get it to display the associated value ("Art Dep") ?