Require Login

March 28, 2015

Require Login Plugin

A plugin for Wordpress that redirects users to the login page whenever they try to visit any page/post/etc on the blog.

A simple plugin for WordPress that redirects users to the login page whenever they try to visit any page/post/etc on the blog, with an option menu to turn this functionality on or off. When enabled, the entire blog essentially becomes a private blog.

To Do

  • Nothing currently. If you have any requests, please submit them on GitHub.

Git/Subversion

In addition to the subversion access that WordPress is providing, this plugin is available through git at GitHub.

Installation

  1. Upload wp-require-login.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to the ‘Require Login’ Settings menu and enable.

Screenshots

  1. The Require Login Settings page.

    The Require Login Settings page.

FAQ

How do I enable this plugin?

Once the plugin itself is installed, navigate to the ‘Require Login’ Settings menu, check the lone checkbox, and click ‘Update Options’.

I’m running a build of WordPress that is older than 3.3. Can I use this plugin?

I personally wrote this for a WordPress installation in early 2008. When I revived it a few days ago, I did have to make some changes. In all honesty, it should work with 3.2 onwards, or on even earlier versions with the Settings menu portions removed from the code. I’m only listing 3.3.0 since this is the earliest version I can guarantee it works with.

I found a bug!

Please report the bug on our issue tracker at GitHub.

Changelog

1.0.3

  • Added cmwelsh as a contributor

1.0.2

  • Update to README only for version verification.

1.0.1

  • Minor update from cmwelsh: Replaced deprecated user level requirement with manage_options requirement.

1.0

  • Added plugin installation and uninstall functions to aid option table cleanup.

0.5.1

  • First published version.

Details

  • Version: 1.0.1
  • Active installations: 600
  • WordPress Version: 3.3.0
  • Tested up to: 4.1.41

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars