We'll create fresh WordPress site with Restrict User Access – Ultimate Membership & Content Protection installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Restrict User Access is a fast and simple Membership Plugin for WordPress. Restrict your content in minutes, NOT hours.
Quickly set up a paid membership site where your users can get different levels such as Platinum, Gold, or Free. Then, grant those levels when a user purchases a product in WooCommerce.
Users can have multiple levels, and you control how long memberships should last. When unauthorized users try to access restricted content, you can redirect them to another URL or display a teaser.
Automatically add levels to your users based on something they do (Triggers) or something they are (Traits):
Prevent unauthorized users from visiting your posts, pages, or categories. You can even combine the conditions: protect all posts tagged “Premium” written by a select author.
The following Access Conditions are available out of the box:
Note that Access Conditions do not apply to content displayed in lists.
The easy-to-use WordPress User Manager gives you full control over the capabilities the members should or shouldn’t have. Access Level Capabilities will override the permissions set by roles or other plugins.
Disable the admin bar for select levels and control what menu items members can see. You can even hide any widget area created with Content Aware Sidebars
Restrict User Access autodetects Custom Post Types and Taxonomies created by any plugin or theme. Built-in support for some of the most popular WordPress plugins means that you e.g. can restrict access to bbPress forums or multilingual content.
Fine-tune content visibility in your posts or pages by adding simple shortcodes:
[restrict level="platinum"]
This content can only be seen by users with Platinum level or above.
[/restrict]
[restrict level="!platinum"]
This content can only be seen by users without Platinum level or above.
[/restrict]
[restrict role="editor,contributor" page="1"]
This content can only be seen by editors and contributors.
Other users will see content from page with ID 1.
[/restrict]
[login-form]
Restrict User Access makes it super easy for developers to programmatically customize WordPress access control by adding a few lines of code to theme templates.
rua_get_user()->add_level($level_id);
if(rua_get_user()->has_level($level_id)) {
//show restricted content
} else {
//show content if unauthorized
}
View full RUA PHP API documentation here.
Complete your WordPress membership site with these powerful extensions