外掛說明
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 🙂
常見問題集
- How to use it?
-
Note that the custom field is hidden by default for WordPress 3.x and need to be manually enabled from Screen Options pulldown menu on top right corner while writing posts.
Under post writing page, add a custom field with key name ‘password_hint’. The value will be taken as the hint shown on top of password form.
- I have problem not described here.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
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).