This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Global Post Password


If you publish many password protected posts (or even if you don’t), you may end up using the same password for each one. With this plugin you can define a global password from your ‘Settings -> Global Post Password’ menu, and switch password protection on or off from the writing screen with just one click. Whenever you change the global password, all password protected posts are automatically updated with the new password.

Note that this plugin does not automatically enable password protection on every post. It allows you to use a global password for every post that you choose to password protect.


  • Switching password protection on or off.
  • The settings screen.


You can install this plugin directly from your WordPress dashboard:

  1. Go to the Plugins menu and click Add New.
  2. Search for Global Post Password.
  3. Click Install Now next to the Global Post Password plugin.
  4. Activate the plugin.
  5. Visit the ‘Settings -> Global Post Password’ menu and set a global password.

Now whenever you write or edit a post or page you’ll be able to switch password protection on or off with one click, instead of having to manually type in a password each time. You can change the global password whenever you like from the ‘Settings -> Global Post Password’ menu.


Does this plugin automatically enable password protection on every post?

No. It allows you to use a global password for every post that you choose to password protect.

Is the global password just for posts?

Despite the name of the plugin, anything that is password protected on your site will use the global password – this includes posts, pages, and custom post types.

How do I change the global password?

Visit the ‘Settings -> Global Post Password’ menu in WordPress.

Do I have to have administrator privileges to change the global password?

Yes. Only users with the manage_options capability can change the global password. By default, only Administrators have this capability.

What if I forget the password?

Visit the ‘Settings -> Global Post Password’ menu in WordPress and the password will be displayed there. And don’t forget it again.

What’s the correct way to remove the global password?

If you want to remove the global password functionality and return to per-post passwords, just disable or uninstall the plugin and normal password protection will return. Password protected posts will remain protected with the password you last set under ‘Settings -> Global Post Password’.

How secure are password protected posts?

This plugin uses WordPress’ built-in password protection system and simply enables you to set the password for all password protected posts globally. There are no known ways to read a password protected post without knowing the password for it.

Can users log out of password protected posts?

Yes. Try my Log Out of Password Protected Posts plugin which provides this functionality.

Contributors & Developers

“Global Post Password” is open source software. The following people have contributed to this plugin.


Translate “Global Post Password” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • When passing a password via the URL parameter, ensure the password cookie’s behavior matches that of core’s.
  • Correctly handle passwords which need to be encoded when used in the URL parameter.
  • Add escaping to all translated text.
  • Various code quality tweaks.


  • WordPress 3.4 and 3.5 compatibility.
  • WordPress 3.4 or later is now a requirement.


  • Add a body class of ‘has-post-password’ to individual posts when a user has entered the correct password.


  • Additional protection so you can’t accidentally remove password protection from all your posts.


  • Full compatibility with Quick Edit.
  • New settings that enable using post passwords in permalinks and feed URLs.
  • WordPress 2.8 or later is now a requirement.


  • Introduction of (optional) multiple global passwords.
  • Removal of redundant radio buttons on post editing screen.
  • Support for Quick Edit.
  • WordPress 2.7 or later is now a requirement.


  • WordPress 2.7 compatibility.


  • WordPress 2.6 compatibility.


  • Initial release.