Protect Content

[usersultra_protect_content]

This Shortcode protects portions of contents bassed on logged in or membership.

Options:

OPTIONS DEFAULT ALTERNATIVES
logged_in_based NULL logged_in_based, membership_based, role_based, group_based
membership_id NULL the ID of the membership package separated by commas
custom_message_loggedin NULL “_blank” will display a blank message.
custom_message_membership NULL “_blank” will display a blank message.
ccap any user with these tags will be able to see the protected content. you can set the tags in the UU Users module.
roles NULL any role you wish to display the content to. Example: administrator, subscriber
custom_message_role NULL “_blank” will display a blank message.
groups NULL any group ID you wish to display the content to. Example: 1,3. You will find the group’s ID on the groups module.
custom_message_group NULL “_blank” will display a blank message.

Logged in based protection:

			
[usersultra_protect_content display_rule='logged_in_based' custom_message_loggedin='Only Logged in users can see the content']Your private content here [/usersultra_protect_content] 

Role based protection:

[usersultra_protect_content display_rule='role_based' roles='subscriber,administrator' custom_message_role='Only Subscribers can see the content']Your private content here [/usersultra_protect_content] 

Groups based protection:

[usersultra_protect_content display_rule='group_based' groups='2,4' custom_message_group='Only Users in this group can see the content']Your private content here [/usersultra_protect_content]