1. Home
  2. Knowledge Base
  3. Membership Site Questions
  4. How to hide specific content on a page with OptimizeMember

How to hide specific content on a page with OptimizeMember

If you want to hide specific content on a page without using our membership elements, you can hide content using our OptimizeMember shortcodes:

[opmIf current_user_can(access_optimizemember_level1)]
    Some content for Members who are logged in with an optimizeMember Level >= 1.
[/opmIf]
Change references to level1 to be level2 or whatever level you are using
The video on this page will show you where to add these codes to hide a specific element on the page in the LiveEditor:

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
Contact Support