Master Post Password Master Post Password

Master Post Password

Created by: Scott Reilly

Rating:
Downloaded: 5k times

Define a master post password that works for all passworded posts, while permitting the original post passwords to also work.

Once the master post password has been provided by a visitor for any passworded post on the site, it applies to unlock all other passworded posts (without needing to provide the master post password again for each such post) until the site’s cookies expire in the browser.

There are two means by which the master post password can be defined:

a.) As a constant, C2C_MASTER_POST_PASSWORD. This is typically done in wp-config.php like so:

define( 'C2C_MASTER_POST_PASSWORD', 'your_master_post_password' );

b.) Via the settings field labeled “Master Post Password” found on the Settings -> Reading admin page.

If the constant is defined, it takes precedence and the settings field is NOT displayed.

Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage

Screenshots

  • A screenshot of the <code>Settings</code> -&gt; <code>Reading</code> admin page showing the "Master Post Password" input field.

Categories

Get New Themes & Resources