• Home
  • User details DKI

User Details DKI Shortcodes

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:


First Name:

[ifso_user_details show="firstName"] 

Last Name:

[ifso_user_details show="lastName"] 

Full Name:

[ifso_user_details show="fullName"] 


[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"]

You might be interested

  • Was this Helpful ?
  • YesNo
Ready to get started?
Try it on your website