- This topic has 1 reply, 2 voices, and was last updated 11 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › Problem with shortcode to disable members ID level to see content of a page
Hi, I have a problem with the protection of the contents of a page.
I have 3 members level:
free
register
buyed
In a page I want to make sure that only users buyed can see the content of a specific page. The others need to see written a custom message.
I used this shortcode
[emember_protected custom_msg for = 1-3-5 = “This is a custom message”]
The content goes here. this content will be hidden and only
available to members of membership level 1, 3 or 5.
[/ emember_protected]
But the problem is that if a register member is logged in, this can see the content of the page.
What’s wrong? Can you help me understand the procedure.
The page I want to protect and its contents are a series of videos, that only user “buyed” who buy my software must be able to see.
Thanks to all those who want to help me
Sandra
You have an error in the shortcode that you are using. Please review the section protection documentation and correct the mistake:
http://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88
The correct shortcode would be the following (you have the parameters messed up a little)
[emember_protected for=1-3-5 custom_msg=”This is a custom message”]
The content goes here. this content will be hidden and only
available to members of membership level 1, 3 or 5.
[/ emember_protected]