Title: Restrict Content by shortcode
Last modified: August 30, 2016

---

# Restrict Content by shortcode

 *  Resolved [jacklee2](https://wordpress.org/support/users/jacklee2/)
 * (@jacklee2)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-by-shortcode/)
 * Hi there i just upgrade the plugin to membership pro version .
    Can i know is
   it anyway to restrict / protect content but page ?
 * Example inside the page
 * Today is bla bla bla
 * member password is [protect member =”gold sliver”] asdfdsfdsfs [/protect member]
 * so non member can be view every content but the protected content in the page.
 * is it possible ?
 * I doesn’t want to hide the whole page but certain content
 * [https://wordpress.org/plugins/membership/](https://wordpress.org/plugins/membership/)

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

 *  Thread Starter [jacklee2](https://wordpress.org/support/users/jacklee2/)
 * (@jacklee2)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-by-shortcode/#post-6440446)
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-by-shortcode/#post-6440519)
 * Hey there jacklee2,
 * How are you doing today?
 * This is pretty close to how this actually works.
 * First you’ll need to go to Membership 2 -> Memberships where you can see the 
   shortcode with the ID that you’re supposed to use in order to protect your content,
   see screenshot [http://screencast.com/t/JJJ6McHOJgcX](http://screencast.com/t/JJJ6McHOJgcX).
 * After that simply wrap your content in page/post with that shortcode like this:
 *     ```
       [ms-protect-content id="261"]
   
       Your content goes here
   
       [/ms-protect-content]
       ```
   
 * Hope this helps 🙂
 * Cheers,
    Bojan
 *  [sadiejo](https://wordpress.org/support/users/sadiejo/)
 * (@sadiejo)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-by-shortcode/#post-6440584)
 * Do you have to pay in order to see the protection short-code?
 * Also, whenever I click on edit or access options, I get a Server 500 error.
 * [http://i.imgur.com/Jowx3hh.png](http://i.imgur.com/Jowx3hh.png)
 * [http://imgur.com/FoZjndr](http://imgur.com/FoZjndr)
 * Thank you!
 *  Thread Starter [jacklee2](https://wordpress.org/support/users/jacklee2/)
 * (@jacklee2)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-by-shortcode/#post-6440613)
 * Yea It’s Work . Thanks for the help
 *  Plugin Author [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * (@wpmudev-support4)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-by-shortcode/#post-6440616)
 * Hey,
 * [@jacklee2](https://wordpress.org/support/users/jacklee2/) Glad I could help 
   🙂
 * [@sadiejo](https://wordpress.org/support/users/sadiejo/) You don’t have to pay
   to see protection shortcode, the screenshot above was taken from site that is
   using free version of the plugin.
 * Since this thread is resolved please open a new one so we can investigate this
   further.
 * Best regards,
    Bojan

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

The topic ‘Restrict Content by shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/membership_b8cdaa.svg)
 * [Membership 2](https://wordpress.org/plugins/membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/membership/)
 * [Active Topics](https://wordpress.org/support/plugin/membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/membership/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Bojan Radonic – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support4/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/restrict-content-by-shortcode/#post-6440616)
 * Status: resolved