Description
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.
Installation
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 🙂
FAQ
- 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.
Avis
Il n’y a aucun avis pour cette extension.
Contributeurs & développeurs
« Protected Post Password Hint » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Protected Post Password Hint » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
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).