Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Restricted Page

Plugin hides page content from not logged-in users

"Restricted Page" plugin was created to prevent unauthorized users from viewing particular pages. The plugin must be placed on the destination page. For logged-in users the plugin can show (in addition to the content of the page) predefined text and “Log out” button. For not logged in users plugin shows a predefined texts, login form and sign in button instead the page content. More info at

Author Leonid N. Malyshev
Contributors mln141
Tags access, capability, cms, editor, parents, permission, protection, restrictions, role, security, user
  1. restricted-page screenshot 1

    Screen shot of plugin options (menu “Settings”->”Restricted Page Options”) screenshot-1.jpg

  2. restricted-page screenshot 2

    Protected screen - presentation for logged-in users

  3. restricted-page screenshot 3

    Protected screen - presentation for not logged-in users

  1. Upload RestrictedPage folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. In plugin settings (Admins menu “Settings”->”Restricted Page Options”) you can set plugin options:

    For not logged in users: • Text to publish before login form • Text to publish after login form • Show "Sign In" button? • Sign In Button text • Text to publish before Sign in form • Text to publish after Sign in form

    For logged in users: • Show "Disconnect" button? • Disconnect Button text

    All options allow to enter text with html tags (eg





  4. Place plugin shortcode on the pages you want to protect. You can insert plugin’s shortcode in any place of you page. You can place: • [RP_registered_only] • [RP_registered_only]Text to show[/RP_registered_only] – For registered users “Text to show” would be printed in the place of the shortcode before “Sign out” button (if shown). • You can place shortcodes more than 1 time. WARNING. In this case all "[RP_registered_only]" must be closed bu "[/RP_registered_only]"
Version 1.0.1

Requires WordPress version: 4.1 or higher

Compatible up to: 4.7.2

Last Updated 14 Dec 2016

Date Added: 05 Jun 2015


3.5 stars
2 ratings


Not Enough Data

Works: 0
Broken: 0