WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Page Restrict

Restrict certain pages or posts to logged in users.

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

Requires: 2.6 or higher
Compatible up to: 3.4.2
Last Updated: 2014-1-15
Downloads: 90,222

Ratings

4 stars
4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

0,1,0
0,1,0
100,1,1
100,1,1
100,1,1 83,6,5 100,1,1
100,10,10 0,1,0 100,2,2
100,2,2
100,13,13
100,1,1
100,1,1
75,4,3
5,19,1
0,3,0 100,1,1
91,11,10
50,4,2
100,4,4
100,1,1 100,3,3
67,3,2 100,2,2
33,3,1
50,2,1
100,1,1
100,1,1 100,1,1
100,5,5
100,1,1