Adding WordPress Content Protection Rules
Content Protection in ProfilePress is a modern and logical way of protecting content such as pages, child pages, posts, custom post types, categories, tags, and custom taxonomies in WordPress.
You can restrict your WordPress content to a particular group of users, including everyone, members or customers of a membership plan, logged-in users, and logged-out users.
The content Protection feature can be found under the ProfilePress menu in the WordPress dashboard.
When the Add New button is clicked, it will take you to the screen where you can start building your protection rule.
Enter a descriptive title for the rule you are creating, the contents to protect, the logical OR/AND, and who can access the content. When you are done, click the Save Rule button.
The Access Condition section allows you to assign who can access the content you want to protect, such as Everyone (all users will have access to the content), Logged in users (only those who are logged in can access the content), and Logged out users (only those who are not logged in to your website can access the protected content).
The Logical AND rule only kicks in when all grouped conditions are true, and the Logical OR rule happens when one of the conditions in a group is true.
In the screenshot above, we used the OR logic where the protection rule will kick in when anyone accesses either of the selected post or pages. This means you want everyone to access the selected post and page.
The rule above will restrict posts on your site that belong to both Film and TV Series categories.
You can restrict your protected content to members or customers of specific membership plans, selected user roles, and specific registered users.
You can also show unauthorized users the global restriction message, a custom message, the post excerpt, or redirect them to a specific page.
Note that you can create as many content protection rules as you want.
You can also deactivate/activate any rule from the Rules listing page.
If you have any pre-sale questions, inquiries, or contributions, please get in touch.