WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Restrict Content

Restrict Content to registered users only. This is a simple plugin that will allow you to easily restrict complete posts / pages to logged in users on

  1. Upload restrict-content to wp-content/plugins
  2. Click "Activate" in the WordPress plugins menu
  3. Go to Settings > Restrict Content and customize the Message settings
  4. Follow instructions below to restrict content

To restrict an entire post or page, simply select the user level you’d like to restrict the post or page to from the drop down menu added just below the post/page editor.

To restrict just a section of content within a post or page, you may use shortcodes like this:

[restrict userlevel="editor"] . . . your restricted content goes here . . . [/restrict]

Accepted userlevel values are: * admin * editor * author * subscriber * contributor

There is also a short code for showing content only to users that are not logged in.

[not_logged_in]This content is only shown to non-logged-in users.[/not_logged_in]

Last Updated: 3 months ago
Active Installs: 10,000+

Ratings

3.9 out of 5 stars

Support

3 of 3 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1
100,2,2
50,2,1 67,3,2
100,1,1
100,4,4 100,2,2 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,2,2 100,1,1
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1
100,3,3
100,2,2
100,1,1
100,2,2
100,1,1
100,1,1
100,1,1