This plugin will very easily let you restrict content on your WordPress site to registered users. It permits you to restrict entire posts / pages or individual sections of content within a post or page.


  • Restrict entire posts / pages.
  • Restrict sections of content.
  • Unlimited number of restricted areas.
  • Works with all Custom Post Types
  • Five restriction levels – uses WordPress’s regular user levels.
  • Hide content displayed in WordPress feeds.


First upload to wp-content/plugins and click activate from the WordPress plugins menu.

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 that can be used for showing content to users that are not logged in:

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

A premium version of this plugin can be found here.

Download for Free

  1. Travis

    Hi there. Would it be possible to block users from leaving a product review unless they are logged in? I’m looking for something that will replace the review form with a “Login to review” button in it’s place on the woocommerce product page.



    i can get this work, i used the dropdown and the default user profile, but the “hide from feed button” don’t work, i need to set an extra plugin for users?

  3. Nicolas

    Hey there, you make great plugins and I love your work. I just wanted to share an article I wrote about restricting content on a wordpress website. It’s for simple use cases but it teaches people how to protect content, like specific categories, to be viewed by non logged in user. Check it out and let me know what you think!

  4. CS

    It is possible get restriction for customer user (woocommerce)?

    Thank you!

Leave a Reply

Error: Please enter a valid email address

Error: Invalid email

Error: Please enter your first name

Error: Please enter your last name

Error: Please enter a username

Error: Please enter a password

Error: Please confirm your password

Error: Password and password confirmation do not match