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.


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.



  • 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.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code