このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Protected Post Personalizer

説明

This plugin is a simple one, but good at what it does. It changes three elements of protected posts to make them more friendly to visitors.

Prefixes:

  • customize prefix for password-protected posts from default “Protected: “
  • customize prefix for private posts from “Private: “

Custom Previews:

  • ability to use the post’s excerpt (if one is saved) when no password is given
  • ability to show custom text for all password-protected posts
  • if no saved excerpt, show the default OR use custom site-wide text

Password Form:

  • change text before the password input box
  • change text of submit button
  • add custom CSS; set class or ID for theme integration

Change Log

0.6 – corrected for WordPress 2.7, which handles protected and private posts differently.
0.5 – initial public release

スクリーンショット

  • Seen here with (mostly) default options. The 'Assign ID, Class, or Inline Styles' box has been given an example setting, because Wordpress' default is no id, class, or style.
  • These are my personal settings for glot.homepie.org (seen with colorful customized CSS for the Alluric Admin plugin).

インストール

  1. Upload protected-post-personalizer.php to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. In the ‘Settings’ menu click ‘Protected Posts Personalizer’ and change any text you want, then click Save Changes.

FAQ

Does this change the way WordPress handles passwords?

No, not at all. This plugin is specifically for changing how password-protected and private posts are displayed. Changing these will not affect the password system at all.

What if I only want to change one thing and nothing else?

That’s fine. All plugin defaults are WordPress defaults. If you install it and don’t change the values, nothing will appear different.

Can anything go in the ‘Assign ID, Class, or Inline Styles’ box?

Tecnically, yes. This option inserts text directly into the <p> tag of the password form. That means that, while you could put anything in there, if you put something which is invalid HTML or XHTML odd things will probably happen. Additionally, you’re site won’t validate.

What if I want to keep the default post previews, but also want to use a customized password form?

No can do. Because the text of the custom password form relies on having a custom function to call it, you must use one of the ‘custom’ options. It’s practically the same thing. Is it that important to tell visitors “There is no excerpt because this post is password protected”? Because, in fact, that’s the only difference.

Neato! But I was really hoping for a protected post plugin that would do…

Please, please do submit any ideas for the future at the plugin’s homepage. If you can think them and I can program them, we’ve got ourselves a new feature.

評価

このプラグインにはレビューがありません。

貢献者と開発者

Protected Post Personalizer はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Protected Post Personalizer” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。