This shortcode will display the user’s display name, as set on the Edit Profile page.
Provided in the Core Plugin.
You can use the global shortcode settings via WPS Pro->Shortcodes in the admin dashboard, or add them to the shortcode as options.
To use the shortcode options, include them in your shortcode as in the following example:
The above will show the display name, but it will also be a link to the profile page. If being used on a profile page, you are unlikely to set link to be “1”, but there may be other situations when it is required.
The options can be combined too, for example, the following will show the display name for user 99, and as a link to their profile page:
[wps-display-name user_id="99" link="1"]
The following options can be added to the shortcode.
|Force the user account by ID||(user_id=””)|
|Show as link the the profile page||(link=””)|