Skip Navigation

[Resolved] How to display User custom 'Select' field on front end with shortcode

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.

This topic contains 1 reply, has 1 voice.

Last updated by Anthony 1 year, 4 months ago.

Author
Posts
#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") ?