Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

[Resolved] Hide from one member level

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Hide from one member level

  • This topic has 2 replies, 2 voices, and was last updated 3 years, 7 months ago by angelfire4xx.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 3, 2021 at 10:04 am #83749
    angelfire4xx
    Participant

    It would be cool to have a [hide from …] shortcode to hide a bit of text from a particular member level if possible.

    My free members are level 2
    My paid members are level 3 (site-wide these are also allowed to view level 2 content)

    However on one page there is a bit of text that I would like to hide from level 3.

    So basically instead of [protected for level 3]xxx[/] I am wanting [hidden from level 3]xxx[/].

    I don’t know if that’s possible but it would be cool if it was!
    Linda

    October 3, 2021 at 4:58 pm #83751
    admin
    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]
    
    October 4, 2021 at 3:46 am #83752
    angelfire4xx
    Participant

    Thank you!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ