Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Hide from one member level › Reply To: Hide from one member level
October 3, 2021 at 4:58 pm
#83751
Keymaster
I think the not_for and the do_not_show_restricted_msg parameters should be able to achieve what you are after.
If you fully read the following partial protection feature, you will see how to use the “not_for” and “do_not_show_restricted_msg” parameters in that shortcode which hides the protected section also:
How to Protect a Section of a Post or Page (Partial Protection)
The following is an example usage of the shortcode that will hide the content from level 1 users:
[emember_protected not_for="1" do_not_show_restricted_msg="1"]
Whatever content goes here is NOT visible to members of membership level 1. All the other members can see this content.
[/emember_protected]