User details DKI

Display the user's details using a simple shortcode

If-So allows you to dynamically insert the user’s details using a simple shortcode. Users have to be logged-in in order for the shortcode to work.

The following details can be displayed:

  • User Name
  • First Name
  • Last Name
  • Full Name
  • Email

How to display the user’s details using a shortcode?

Use the shortcodes below to dynamically display each of the user details:

User Name:

[ifso_user_details] 

First Name:

[ifso_user_details show="firstName"] 

Last Name:

[ifso_user_details show="lastName"] 

Full Name:

[ifso_user_details show="fullName"] 

Email:

[ifso_user_details show="email"] 

Setting a fallback (default)

Setting a fallback, for cases that the user details are blank or unknown, can be done by simply adding the parameter default=”value” to the shortcode.

[ifso_user_details show="firstName" default="friend"]

Shortcode generator

Customize the fields to generate your shortcode, then copy and paste it wherever you want the dynamic value to appear.

User Details – DKI Generator

Displays if the user is not logged in or the field is not available

Your Shortcode

Paste the shortcode wherever you want the dynamic value to appear.

Didn’t find what you need?

Winter Sale!
Up to 40% Off