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:
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, 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"]