Traditionally all password protected posts contain a boiler-plate password form without any hints. Without any capability to change the string, one must provide the hint in another post, which is a bit clumsy. Not to mention, people viewing the single protected post only will be unable to see the hint at all. With this plugin protected posts are more usable.
The password hint is taken from a certain custom field within the protected post, with key name ‘password_hint’. If this key is present, the value of key is immediately taken as the password hint. Without the key, the standard password form is shown again.
安装:
New install
Decompress zip file.
Copy protected-post-password-hint.php to plugin subfolder (usually wp-content/plugins/).
Activate plugin in WordPress admin page. No configuration needed.
Upgrade
Deactivate the plugin in WordPress admin page.
Remove the plugin file.
Upload new plugin and activate again.
(I usually just replace the file without deactivating the plugin. But this is not official, you know the deal :-)
升级注意事项:
2.0.2
2.0.1 doesn't work at all (PHP fatal error)
2.0.1
This is a rewritten version that works on WP 2.7-3.4. Don't use version 2.0 of this plugin since it only works on WP 3.4.
更新日志:
2.0.2
Fix serious typo error that caused PHP fatal error.
2.0.1
Add compatibility for WP >= 2.7.
2.0
Rewritten to adopt change in WP 3.4 (removal of wp-pass.php).