web_user_details Shortcode
The web_user_details shortcode renders the dynamic user details component.
The attributes below match the current Page Builder controls and public output. Use raw syntax only for reviewed content that cannot be maintained through the visual controls.
Usage
[web_user_details]
Attributes
| Attribute | Default | Accepted values | Purpose |
|---|---|---|---|
content |
— | String unless stated otherwise | If empty, the block will not appear. You can use the following variables: {user_avatar}, {user_name}, {user_last_name}, {user_email}, {user_login}. |
content_not_logged_in |
— | String unless stated otherwise | Text if the user is not logged in. |
device_visibility |
— | String unless stated otherwise | Applies the selected responsive visibility rule. |
el_id |
— | Valid unique HTML ID | Enter section ID (Note: make sure it is unique and valid according to w3c specification). |
el_class |
— | String unless stated otherwise | If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file. |
Verification
Test web_user_details with populated, empty and long result sets, and verify the selected source belongs to the current site. Pay particular attention to content and content_not_logged_in.