Blog

Yes. I created a simple WordPress plugin for you.

Download the WordPress Plugin ZIP

What this plugin does

It allows you to restrict individual blog posts and pages based on WordPress user roles.

For every Post and Page, you will get a new box called:

Content Restriction

Inside that, you can:

  1. Tick Restrict this content
  2. Select which roles can view it, such as:
    • Subscriber
    • Author
    • Editor
    • Customer, if WooCommerce is installed
    • Any other custom role

Restrict Content Testing

Administrators can always view restricted content.

How to install

  1. Go to WordPress Admin
  2. Go to Plugins → Add New
  3. Click Upload Plugin
  4. Upload this ZIP file
  5. Click Install Now
  6. Click Activate

How to use

Open any blog post or page.

On the right side, you will see Content Restriction.

Select the roles who can view that page/post.

If a visitor is not logged in, they will be redirected to the login page.
If a logged-in user does not have permission, they will see a restricted content message.

Extra shortcode also included

Login to view this content


This content is visible only to subscribers and customers.