- This topic has 4 replies, 2 voices, and was last updated 9 years, 1 month ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 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 › eMember – Protect from REGISTERED members with a custom message
Tagged: custom message
Hi,
I need to protect a part of a page from registered members (all membership levels) together with a custom message. The content should be available only to non-registered viewers
I could not find any shortcode to do that. There is a shortcode to protect from members but when I add a custom message, it does not work. Is it possible at all?
Thank you.
You want to use “partial content protection,” as described here:
https://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88
You can then only show content to users that are not logged in.
[emember_protected scope="not_logged_in_users_only"]
Only non-members (not logged in) will see this...
[/emember_protected]
Hi,
Thanks for the reply.
As I described, I have already tried that. What I need is a message to logged-in members. I mean the same shortcode with a custom message. Is it possible?
I need to provide a section only to not logged in users AND provide a message to logged in members telling them that this part is not available to you because you are a member (something like that!)
[emember_protected scope=”verified_users_only”]
Go away, you are a member! Users who are logged-in will see this message.
[/emember_protected]
[emember_protected scope=”not_logged_in_users_only”]
Welcome, non-member! Users who are not logged-in will see this message.
[/emember_protected]
Of course, there is nothing to prevent a member from simply not logging in…
In fact, the ONLY DIFFERENCE between a member and a non-member, is the ability to log into the system.
Thank you very much.