Plugin info

Total downloads: 316,605
Active installs: 10,000
Total reviews: 58
Average rating: 3.7
Support threads opened: 1
Support threads resolved: 0 (0%)
Available in: 7 language(s)
Contributors: 4
Last updated: 7/31/2023 (883 days ago)
Added to WordPress: 8/14/2008 (17 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: f
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 883 days ago • Support resolved 0% • 58 reviews

16/100

Is Page Restrict abandoned?

Possibly abandoned (last update 883 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: f
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Require Login for WooCommerce
Rating 5.0/5 (10 reviews)Active installs 2,000
User Access Shortcodes
Rating 4.9/5 (13 reviews)Active installs 1,000
Logged In As
Rating 4.8/5 (4 reviews)Active installs 200
User Last Visit
Rating 4.5/5 (2 reviews)Active installs 40
RestrictedArea Plugin for WordPress
Rating 0.0/5 (0 reviews)Active installs 20
Hide Content from Non-Logged In Users using a Shortcode
Rating 0.0/5 (0 reviews)Active installs 20

Description

Restrict certain pages or posts to logged in users

This plugin will allow you to restrict all, none, or certain pages/posts to logged in users only.

In some cases where you are using WordPress as a CMS and only want logged in users to have access to the content or where you want users to register for purposes unknown so that they can see the content, then this plugin is what you are looking for.

Simple admin interface to select all, none, or some of your pages/posts. This now works for posts!

Upgrade

  1. Deactivate the plugin through the ‘Plugins’ menu in WordPress
  2. Delete the previous pagerestrict folder from the /wp-content/plugins/ directory
  3. Upload the new pagerestrict folder to the /wp-content/plugins/ directory
  4. Activate the plugin through the ‘Plugins’ menu in WordPress

Usage

  1. Visit Settings>Page Restrict in the admin area of your blog.
  2. Select your restriction method (all, none, selected).
  3. If you chose selected, select the pages you wish to restrict.
  4. Enjoy.

Installation

  1. Upload the pagerestrict folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

NOTE: See “Other Notes” for Upgrade and Usage Instructions as well as other pertinent topics.

Frequently Asked Questions

No FAQ available

Review feed

Nick Tomkin
7/10/2017

Doesn't work. Author(s) refuse to support

This plugin used to work great, but with WordPress 4.8+, it fails and the author hasn't provided any recourse. For shame.

Screenshots

  1. Login Form

    Login Form

  2. Admin Page

    Admin Page

Changelog

2.5.4

  • Added a space before label for Remember Me check box to allow for better display/UX.

2.5.3s

  • Fixed a bug with login errors not outputting
  • Carried over login errors from default WP login mechanism
  • Added pr_login_errors filter to enable filtering of WP login errors (e.g., obfuscating messaging on front-end)

2.5.2

  • Added code to use the filtered login form default value for “remember” checkbox allowing the checkbox to be suppressed by the login_form_defaults filter.

2.5.1

  • Added code to NOT affect the title of nav menu items. Should work on most installations.

2.5.0

  • Adds the ability to restrict the page title and customize, with token replacement for the original title.

2.4.0

  • Fixes a bug with wp_login_failed action where (string) username was not sent with the WP_Error object.

2.3.0

  • Code clean up

2.2.9

  • Compatibility for WP 5.6
  • PHP 7.4 updates/code clean up

2.2.9

  • Compatibility for WP 5.2

2.2.8

  • wp_login_url() and wp_register_url() usage

2.2.7

  • wp_lost_password_url() usage.

2.2.6

  • Additional i18n support.

2.2.5

  • Added internationalization support for pending translate.wordpress.org updates.

2.2.4

  • Fixed redirect URL issue.

2.2.3

  • Removed wp_specialchars (deprecated function), replaced with esc_html.

2.2.2

  • Updated possible security flaw.

2.2.0

  • Added filters for modified page/post excerpt/archive content.

2.1.3

  • Removed div.page-restrict-output from unmodified content output. This was causing theme compatibility issues.

2.1.2

  • Fixed a bug with non-existent post object.

2.1.1

  • Added filter for username and password labels in login form. More planned updates in 2014.

2.1

  • Added login error messaging back to referring URI if the user’s login is unsuccessful.

2.07

  • Added div around output with CSS class (page-restrict-output) for more styling flexibility.

2.05 (2011-12-17)

  • Quick update to remove some outdated functions and global vars (clean up).

2.05 (2011-12-17)

  • Fixed bug where pages were not being restricted. Confirmed most compatibility with WP 3.3.

2.04 (2011-09-07)

  • Added support for blog home page (included with archives and search listings) for post restriction.

2.03

  • Update to fix bug where only 5 blog posts display in the settings screen.

2.01 (2010-05-27)

  • Quick update to fix an in_array() warning issued when settings are checked but have not been saved.

2.0 (2010-05-27)

  • Added support for restricting posts.

1.85 (2010-02-15)

  • Fixed bug where choosing the “selected” restriction method would result in all pages being restricted if no pages are checked in the plugin settings.

1.8 (2010-02-12)

  • Changed URL’s to wp-login.php to use get_bloginfo(‘wpurl’) instead of get_bloginfo(‘url’) to ensure proper redirection when users install files outside of the site’s document root.

1.7 (2010-01-18)

  • Fixed a bug that added slashes to quotes in the custom restriction message.

1.6 (2009-03-12):

  • Replaced while loop with foreach for display list of pages
  • Added meta box to write/edit pages page
  • Added capability to display or not display the login form
  • Updated admin styling
  • Restrict commeting or viewing comments on restricted pages
  • Restrict search results also so restricted pages are not shown

1.5 (2008-09-03):

  • Added ability to change restriction method
  • Rewrote and simplified areas pertaining to the list of pages

1.4.1 (2008-08-25):

  • Added back no_cache add_action that was lost in the admin separation
  • Removed duplicate add_action for the admin page

1.4 (2008-08-25):

  • Updated version number scheme
  • Updated code for readability
  • Moved admin functionality to separate file included only when is_admin is true

0.3.1 (2008-08-16):

  • Updated for PHP4 Support
  • Restored end PHP tag at end of script

0.3 (2008-08-13):

  • Initial Public Release