Shortcodes | Description | Parameters |
[ultimatemember] | Login, Register, profile form and member directory. | form_id |
[ultimatemember_account] | Account Shortcode | template, mode, form_id, tab |
[um_loggedin] | Logged-in only content | lock_text, show_lock |
[um_loggedout] | Logged-out only content | |
[um_show_content] | Show custom content to specific role | roles, not, is_profile |
[um_author_profile_link] | Display post author’s link to UM User Profile. | class, title, user_id, raw |
[ultimatemember_password] | Display forms to users to reset their passwords. |
UM User Profile URL [um_author_profile_link]
Display post author’s link to UM User Profile.
Parameters | Description | Value |
class | A link class | Any valid string |
title | A link text | Any valid string |
user_id | User ID. Author ID if empty. | Any valid user ID |
raw | Get raw URL or link layout. | False, true |
Example:
[um_author_profile_link title="User profile" user_id="29"]Visit Author Profile[/um_author_profile_link]
Role Specific Content [um_show_content]
Show custom content to specific role
Parameters | Description | Value |
roles | Show to roles | Comma separated Role Slug |
not | Excludes roles | Comma separated Role Slug |
is_profile | User id | Any valid user ID |
Example:
[um_show_content roles='member,candidates,pets']Your Text[/um_show_content]
Content for Logged Out Visitors [um_loggedout]
Logged-out only content
Example:
[um_loggedout]Your Text[/um_loggedout]
Content for Logged In Members [um_loggedin]
Logged-in only content
Example:
[um_loggedin show_lock="yes" lock_text="insert content here"]Your Text[/um_loggedin]