WordPress Restricted Site Access (SAR) - How To - Restrict Specific Page (Post Metabox)


Post Metabox 

Back to User Guide

With the WordPress Restricted Site Access plugin, you can control access to specific pages or post using a metabox located in each page or post once editing the post.

Metabox for setting access restriction to specific post - Page Restriction WordPress
Metabox for setting access restriction to specific post

The available options are:

  • Access not restricted - Access to the post is not restricted. This will override any global definition set in the plugin general setting (for example for specific post types).
  • Access restricted to logged-in users - Only logged in user from any WP role will be able to view content. 
    • Access denied X days from user first access - Set the number of days of access expiration. After passing this amount of days the user loses his access to the content after first accessing it. Note: This option was introduced in version 1.5.8.
  • Allow only anonymous access - Only non-authorized users are allowed to view the content. Note: This option was introduced in version 1.4.10.
  • Access restricted by role - You can define which WP roles can view content. You can select more than one role.
  • Access restricted by whitelist - Only users from the whitelist are allowed to view the content. Note: This option was introduced in version 1.4.10.
  • Access restricted by blacklist - Access is restricted only for users from the blacklist. Note: This option was introduced in version 1.4.10.
  • Access restricted by joining date - Newly registered users will only be able to see content created on or after the registration date. Note: This option was introduced in version 1.7.2.
  • Access restricted by specific date/time - Access is allowed only within defined period of time. You need to set start and end dates in the fields From and To. Note: This option was introduced in version 1.5.8.
  • Follow access global options - Default. The post will follow the restrictions set in the plugin setting for the post type.
  • Access restricted by role and days passed since post creation date - Per each user role you can define the amount of days that should pass after the post is created in order to let the user access its content. Not selected user roles will not be able to access the content. If you don't want to restrict access for specific user roles by the post creation date, you need to select this role and set the value "0". If this option is chosen, then non-logged in users can not access the content of that type. Also, if you don't redirect users to the specific "access denied" page, you can show them a message with the date when they can access the content. You can customize the message: Learn moreNote: This option was introduced in version 1.8.0.
  • Access denied X days from registration - Users will only have access to this page x days after their registration date. Learn more
  • Restriction type - Choose between
    • Global settings - Default. The post will follow the restrictions set in the plugin setting for the post type.
    • Restrict full content - Hides the content completely.
    • Restrict partially content - Showing 20% of the content with a fade effect and message (configurable in the labels section).
    • Restrict content with shortcode only - Show all content except those parts that are restricted by the [access] shortcode. Learn more about this shortcodeNote: This option was introduced in version 1.5.5.
Metabox for setting access restriction to specific post - WordPress Restrict Content
Metabox for setting access restriction to specific post

More information about the WordPress Restricted Site Access plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.