You can display any data of the contact attached t the user.
To show the name of the contact (which can be different than the name of the user):
{user name="Peter van Westen"}[contact:name]{/user}
So just prepend whatever contact data you want to output with the contact:
prefix.
For example, [contact:alias]
will output the alias of the contact, while [contact:telephone]
will output the telephone number.
With the Pro version of Users Anywhere, you can even output the contact form using [contact:form]
. See more on that under Contact Form Layout.
List of Data Tags
Check out below the Full List of Data Types available for every contact data at your disposal.
Syntax | Example | Description |
---|---|---|
contact:name |
Peter van Westen | The name of the contact. |
contact:id |
4 | The ID of the contact record. |
contact:alias |
peter-van-westen | The alias of the contact. |
contact:image PRO |
![]() |
The image of the contact. See the Images section for a full explanation and more details. |
contact:position |
Great Giant Leader Guy | The contact's position. |
contact:email |
The contact's email address. | |
contact:address |
My Street 123 Suite 4 |
The contact's address. |
contact:city |
Cityville | The contact's city or suburb. |
contact:region , contact:state or contact:county |
Main County | The contact's state or county. |
contact:country |
The Upperlands | The contact's country. |
contact:zipcode , contact:postcode or contact:postal-code |
12345 | The contact's postal/ZIP code. |
contact:phone |
+99-12-345-6789 | The contact's telephone number. |
contact:mobile |
+99-12-345-6789 | The contact's mobile number. |
contact:fax |
+99-12-345-6789 | The contact's fax number. |
contact:website |
https://regularlabs.com | The contact's website. |
[contact:link-website]...[/contact:link-website] |
<a href="https://regularlabs.com">...</a> |
Opening and closing tag to add a link to the contact's website (wraps the content with an a href tag). |
contact:misc |
Tonight? |
The contact's miscellaneous information. |
contact:form |
(See below) | The email form for the contact. |
Contact Form
You can output the complete contact form with:
{user ...}[contact:form]{/user}