The “Membership Protected Content” shortcode can be selected from within posts, pages and products.
It allows you to set up different content for the same “post” (page or product)of each different membership plan: the system will automatically select the content to display to each customer, according to the type of membership they own.
Every content added within the shortcode will only be displayd to customers who own a membership plan.
Setting the ID of the membership plan as a shortcode attribute, the content within the shortcode will be visible only by the users associated with relative plan.
To find the plan ID, go to “Memberships”.
The attribute “user” defines the type of user that can view the content. Possible values are: member, non-member, guest, logged.
[membership_protected_content plan_id="123"] This content is only visible to members of plan 123 [/membership_protected_content]
Suppose you want to show the content to all non-members except for those who have the plan with id=”123″, you may want to compose the shortcode as follows:
[membership_protected_content plan_id="123" user="non-member"] All users except for those with the 123 plan will see this content. [/membership_protected_content]