Title: Content Restriction Error
Last modified: October 12, 2021

---

# Content Restriction Error

 *  Resolved [ritlance](https://wordpress.org/support/users/ritlance/)
 * (@ritlance)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/content-restriction-error/)
 * Dear support,
 * I’ve tried restricting content from level 1 Users, meaning I only want to show
   the content to visitors and basic users.
 * According to your documentation those shortcodes should work, but unfortunately
   they don’t:
 * [membership level=”0,-1″]
    Show for anyone not in level 1, including non-members
   and visitors. [/membership]
 * [membership level=”0″]
    Will show up for non-members and non-logged in site visitors.[/
   membership]
 * How to solve this?
 * BR Ritlance

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/content-restriction-error/#post-14979581)
 * Hi there,
 * Thank you for reaching out to Paid Memberships Pro, I’m really sorry to hear 
   about this issue you are facing.
 * Can you tell me more where/how this is added to your page or post? Is this done
   via a page builder or using the default block editor?
 * If possible, could you share a screenshot of how you are applying this shortcode
   so I may look into this further?
 *  Thread Starter [ritlance](https://wordpress.org/support/users/ritlance/)
 * (@ritlance)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/content-restriction-error/#post-14979763)
 * Hi Andrew,
 * this is done via the Page Builder from DIVI.
 * And it is just a text block looking like this:
 * [membership level=”0,-1″]
    “TEXT” [/membership]
 * Screenshot:
    [https://snipboard.io/A5MHxd.jpg](https://snipboard.io/A5MHxd.jpg)
 * BR
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/content-restriction-error/#post-15017896)
 * Please can you ensure the HTML isn’t encoding it as it looks like it’s boldened(
   I’m not sure if this would affect it) but I have tested this with the latest 
   version of Divi and it works as intended.
 * Here is a image of what I tested in DIVI:
 * ![membership shortcode in divi module](https://i0.wp.com/i.postimg.cc/JnV3t9sS/
   Screen-Shot-2021-10-29-at-10-28-39.png?ssl=1)
 *  Thread Starter [ritlance](https://wordpress.org/support/users/ritlance/)
 * (@ritlance)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/content-restriction-error/#post-15020839)
 * Hi Andrew, it does not look like it is encoded by HTML. Any other reason this
   is not working?
 * [https://snipboard.io/Xtiv21.jpg](https://snipboard.io/Xtiv21.jpg)
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/content-restriction-error/#post-15025257)
 * Thanks for the feedback, it’s difficult to assume why it’s not working on your
   site. Are you using the latest version of Paid Memberships Pro and Divi?
 * You may be able to reach out to a local WordPress developer to help troubleshoot
   this further for you.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Content Restriction Error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/content-restriction-error/#post-15025257)
 * Status: resolved