To simply show the name of the user:
{user ...}[name]{/user}
You can display any data attached to the user..
For example, [id] will output the ID of the user, while [username] will output the username.
Profile Data
If you have the "User - Profile" plugin enabled, you have extra fields in the user edit form. All these fields are also directly accessable via the Data Tags and in the filters.
For instance: [address1], [city], [country] and [website].
Check the full list below for every user data at your disposal.
List of Data Tags
| Syntax | Example | Description |
|---|---|---|
name |
Peter van Westen | The name of the user. |
username |
peter | The user of the user. |
id |
12 | The ID of the user. |
email |
The email address of the user. | |
accesslevels |
Public, Registered, Special | A list of all the access levels the user has. |
usergroups |
Public, Registered, Administrator | A list of all the user groups the user is in. |
address1 |
My Street 123 | Profile*: Address 1 |
address2 |
Suite 4 | Profile*: Address 2 |
address |
My Street 123 Suite 4 |
a combination of address1 and address2. A break will only be added if both are not empty. |
city |
Cityville | Profile*: City |
region, state or suburb |
Main County | Profile*: Region |
country |
The Upperlands | Profile*: Country |
zipcode, postcode or postal-code |
12345 | Profile*: Postal/ZIP Code |
phone |
+99-12-345-6789 | Profile*: Phone |
website |
https://regularlabs.com | Profile*: Website |
[link-website]...[/link-website] |
<a href="https://regularlabs.com">...</a> |
Opening and closing tag to add a link to the profile* website (wraps the content with an a href tag). |
favoritebook |
Waar is Piep? | Profile*: Favourite Book |
aboutme |
Mostly tired | Profile*: About Me |
dob |
15-06-1979 | Profile*: Date of Birth |
my-custom-field PRO |
Green | The value of any Custom Field attached to the user. Use the name of the desired field, for example: [color].A lot more custom field data is available - see the Custom Fields section for a full explanation. |
* Only available if the "User - Profile" plugin is enabled.