WP Multiple Passwords
Allow multiple passwords for password protected pages and posts.
by Brian DiChiara · github.com/solepixel/wp-multiple-passwords · website
★ 13stars
41release downloads
≈10active sites
3forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/solepixel/wp-multiple-passwords/releases/download/1.1.0/wp-multiple-passwords.zipDeclares an update source (https://github.com/solepixel/wp-multiple-passwords), so updates arrive through the plugin's own updater.
From the readme
WP Multiple Passwords
Allow multiple passwords for password protected pages and posts. Includes Advanced Custom Fields (4.x, 5.x) support, but not required.
Installation
1. Upload wp-multiple-passwords into your WordPress plugins folder.
2. Activate the plugin on the WordPress Admin Plugins page.
Usage
1. Create a post or page and set visibility to Password Protected
2. Set your password
3. Save/Update your post/page
4. If using ACF (4.x, 5.x) you will see a new meta box titled "Additional Passwords"
5. Enter as many passwords as you'd like to allow access to this page.
6. Update your post/page.
If you are using ACF (Advanced Custom Fields) 4.x or 5.x, there's nothing left to do. If you would like to use your own meta box solution, follow the instructions below to hook into this plugin. Advanced Custom Fields 4.x is currently not supported.
Custom Meta Box
You may choose not to use ACF to handle your additional password storage and would like to build your own, or maybe you just want to hard code some extra passwords into your theme. The plugin has a filter for passing passwords into a post/page.
Filter: wpmpextrapasswords
Passwords can be added either by string, or associativ
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| 1.1.0 | Nov 12, 2016 | wp-multiple-passwords.zip | 33 |
| 1.0.1 | Sep 8, 2016 | wp-multiple-passwords.zip | 8 |
Active-site estimate ≈10 comes from the median of recent superseded releases. Method.