Are you a WordPress developer or a Web Designer who uses WordPress to develop websites for your clients? Or are you a novice WordPress user?

Have you ever wanted not to show Pages, Posts, or Categories in the menu? Or wanted to restrict access to certain content on your website? With Pages by User Role, you can add Access Control to the following things in WordPress based on which Role the user has.

  • Pages
  • Posts
  • Categories
  • Custom Post Types added by third-party plugins
  • Custom Taxonomies (added by third-party plugins
  • WooCommerce (Products and Shop)

We have made this very easy with Pages by User Roles for WordPress.

The plugin also removes the Page, Post, Custom Post Type, Categories or Custom Taxonomies from search results and blog roll. You can hide Page and Categories from the menu when users are not logged in. You can also set a specific redirect URL for users that don’t have the required User Role.

It also works if you are using the custom menu feature built into WordPress. It will hide the menu items that has assigned a user Role when the user is not logged in.

List of features

You will find the Pages by User Role Options Panel in the WordPress Settings menu

Options

  • Set default redirect URL for users that does not have access to a Page, Post or Custom Post Type.
  • Enable comment filtering
  • Redirect to login
  • Support for WordPress User Roles
  • Support for Custom User Roles
  • Panic option if you restrict yourself from viewing a Custom Post Type
  • Enable Access Control to Custom Post Types
  • Restrict access to Custom Post Types in the Frontend by User Role
  • Restrict access to Access Control Metabox by User Role on Pages, Posts and Custom Post Types.
  • Restrict access to WooCommerce (Products)
  • Revert the Pages by User Role behavior to the backend instead of the original frontend.

Pages, Posts and Custom Post Types

  • Quick overview of User Role Access on Page, Post and Custom Post Types
  • Set Access Control for Subscriber, Contributor, Author, Editor and Administrator
  • Set Access Control for custom User Roles (you need White Label Branding to create the Custom User Roles)
  • Set Access Control for Categories
  • Set individual redirect URL for each Pages, Posts and Custom Post types when a User Role doesn’t have access.
  • Hide individual Pages form the menu
  • Hide Categories from the menu
  • Hide individual Pages, Posts, Custom Posts Types and Categories from search results and blog roll
  • Restrict access to content by using Shortcodes. Access controlled by User Role pur_restricted
    pur_restricted_alt
    pur_not_logged_in

Changelog

Version 1.6.0.98592 – February 26, 2021

  • New Feature: Added new React based Options Panel to the plugin.
  • Update: Converted all old features from Options Panel to new React based Options Panel
  • Update: Used “strict mode” for all Javascript.
  • Update: Removed empty folders
  • New: Added new updated .pot file for translation (English)
  • New: Added support for custom redirect Url when using Forced Login.
  • New: Added support for using wildcard /* in Forced Login white list.

Version 1.5.1.98183 – November 27, 2020

  • Bug Fixed: Forced Login was causing the user to enter password twice.

Version 1.5.0.97742 – August 20, 2020

  • New Feature: Forced Login. Make your website completely private
  • New Feature: White-list Pages, Posts, and Custom Post Types (Always Visible) even though you have enabled the Forced Login feature
  • New Feature: White-list URLs. This is useful if you want to white-list e.g. archives and categories when the Forced Login feature is enabled.
  • New Feature: Added support for settings a specific front-page for users not logged in and a front-page for users logged in. This feature can be used with or independently of the Forced Login feature.
  • Bug Fixed: Block access to a Taxonomy term archive page

Version 1.4.6.96327 – February 6, 2020

Version 1.4.5.86663 – December 14, 2018

  • Update: Styling improvements in Options Panel

Version 1.4.4.83225 – April 20, 2018

  • Bug Fixed: PHP warning in the frontend
  • Bug Fixed: PHP warning on IIS server

Version 1.4.3.82846 – February 7, 2018

  • Compatibility Fix: Pages by User Role caused the content of blog posts on some websites to be hidden when using WordPress Notification plugin and Pages by User Role.

Version 1.4.2.82096 – November 11, 2017

  • Bug Fixed: When blocking access to a Page for one specific User Role and allowing users that are not logged in to access the page, the remaining user roles were blocked. This was related to the new feature we just introduced.
  • Version 1.4.1.82080 – November 10, 2017

    • New Feature: Added feature for handling users that are not logged in (General Settings)

    Version 1.4.0.81397 – September 13, 2017

    • Update: Added language folder and US English .po file

    Version 1.3.9.80977 – August 3, 2017

      Version 1.3.8.80492 – June 21, 2017

      • Bug Fixed: The Post Type Archive option is not blocking access to post type archive pages in the frontend

      Version 1.3.7.79512 – May 12, 2017

      • Bug Fixed: Ajax adding terms (missed control for column’s content)

      Version 1.3.6.78455 – April 12, 2017

      • Bug Fixed: Term restrictions wasn’t working properly
      • Bug Fixed: Issue with text when content restricted

      Version 1.3.5.77856 – March 25, 2017

      • Compatibility Fix: In some sites, a higher user roles got unchecked in the Access Control Box if lower user role edits the Post, Page or Custom Post Type

      Version 1.3.4.76510 – January 30, 2017

      • Bug Fixed: Default Redirect URL not working
      • New Feature: Added support for Allowing or Blocking access to Posts assigned to…