The “Pages by User Role for WordPress” plugin offers comprehensive access control features based on user roles in WordPress. Here’s a breakdown of its key functionalities and features:
Access Control Features:
- Pages, Posts, Custom Post Types, Categories, and Taxonomies: Restrict access to specific content types based on user roles. This includes hiding these items from menus, search results, and blog rolls when users are not logged in.
- WooCommerce Integration: Control access to WooCommerce products and the shop page based on user roles.
Configuration Options:
- Default Redirect URL: Set a default redirect URL for users who do not have access to certain pages or content.
- Comment Filtering: Enable filtering of comments based on user roles.
- Login Redirect: Redirect users to the login page if they attempt to access restricted content.
User Role Management:
- Support for WordPress User Roles: Set access control rules for default WordPress user roles (Subscriber, Contributor, Author, Editor, Administrator).
- Custom User Roles: Extend access control to custom user roles (requires White Label Branding to create custom roles).
Individual Control and Customization:
- Individual Redirect URLs: Set specific redirect URLs for each page, post, or custom post type when a user role doesn’t have access.
- Menu Management: Hide individual pages or categories from menus based on user roles.
Shortcode Integration:
- Content Restriction with Shortcodes: Use shortcodes to restrict access to specific content within pages or posts. Content visibility can be controlled based on user roles (
pur_restricted
,pur_restricted_alt
,pur_not_logged_in
).
Additional Settings:
- Backend vs. Frontend Behavior: Choose to revert the plugin’s behavior to the WordPress backend instead of the frontend.
- Access Control Metabox: Restrict access to the access control metabox itself based on user roles.
Usage and Management:
- Easy Configuration: Access the plugin’s options panel in the WordPress Settings menu for simple setup and management.
- Granular Control: Fine-tune access permissions for different user roles to provide tailored experiences for users.
By leveraging these features, web developers and administrators can effectively manage and control access to specific content on their WordPress websites based on user roles, ensuring a personalized and secure user experience.