该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Multiple Post Passwords

描述

This is a simple Plugin that lets you set multiple passwords for your password protected posts and pages.

On posts/pages with password protection it will show an extra Metabox with a field to input additional passwords, one in each line.

Note that if you just changed a post/page to password protection you have to save once so that the extra field appears.

Expire passwords

You can also make passwords expire after x hours when being used. You can find the settings under Settings -> Multiple Post Passwords.

Note that the actual deletion of the passwords is triggered by a cronjob which is run every 30 minutes. So even if you set your expiry time to very short, it may still take 30 minutes until the password really expires.

Also note that the expiration only works for the additional passwords, not for the standard WordPress page/post password.

Using lots of passwords on one page

If you are using lots of passwords on one page and the password check takes a long time, you should activate the alternative password check in the settings to speed up the password check.

屏幕截图

  • The meta box to add additional passwords in classic editor

  • The additional passwords meta box in gutenberg editor

  • Plugin settings screen

安装

  1. Upload the zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Edit the post or page you want to protect with multiple passwords
  4. When you set a password and save once, the field to add multiple passwords will appear in the top right corner
  5. Set as many passwords as you wish, one in a line

常见问题

I cannot see where I can enter the additional passwords

First set one password (as you normally would in WordPress), then save once and you´ll see the extra field where you can add the passwords.

In Gutenberg Editor you have to save and then completely reload the admin page.

We decided to not show the extra metabox if there is no password set so it does not clutter the interface.

Where are the plugin settings

You can find the settings under Settings -> Multiple Post Passwords.

Does this support custom post types

Yes, this was implemented in Version 1.0.2

What about feature X

Just go to the support forums and kindly ask for it, then we´ll see what we can do. Thank you!

评价

2021 年 6 月 2 日 2 回复
This looks a great plugin. I would like to use email address as the password for visitors, which means I need to use around 500 passwords. Will the system support this number and will it become very slow?
2021 年 1 月 12 日 1 回复
Very good plugin. It allows multiple passwords for each site. Works fine. Thx for the effort!
2020 年 9 月 29 日
Super Plugin, mit dem man einfach mehrere PW für eine Seite oder einen Beitrag erstellen kann. Aktuell muss man die Seite neu laden, damit die Funktion sichtbar wird. Ich hatte damit ein paar Probleme und Andreas hat mir schnell und kompetent weitergeholfen, vielen Dank dafür!
阅读所有11条评价

贡献者及开发者

「Multiple Post Passwords」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Multiple Post Passwords」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Multiple Post Passwords」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.2

  • fix: improve output escaping in settings
  • fix: fix some PHP warnings

1.1.1

  • feature: add hook for password manipulation

1.1.0

  • feature: add ability to expire used passwords
  • feature: implement alternative password checking method -> quicker for alot of passwords

1.0.3

  • improvement: implement cache to speed things up for many passwords in one post/page

1.0.2

  • feature: add support for custom post types

1.0.1

  • remove wordpress brand from url domains
  • fix post sanitization

1.0.0

  • Initial release