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

Plugin Name: Highlight Post Widget

説明

The purpose of this plugin is simple. I want to list recents update of my posts. Similiar to default “Recent Posts Widget” by WordPress, but this one sort the post by last modified time and enable to add a short note about change or update being made.

For example, I maintaince a wordpress plugin (we name it, “Hollydolly Plugin”) and create a post about it on my blog. And because the nature of blog—when new posts are added the older ones are taken down automatically—it’s only a matter of time that post ‘disappeared’ from frontpage and no longer seen by visitor. So, when I release a new version of “Hollydolly Plugin” and updated the old post about it, unfortunately, there is no way I can do to ‘attract’ visitor to read (again) that post.

Right, in the new version of WordPress (since version 2.7) there is an option to make it as sticky post—make it listed on the top of frontpage. But that not my choice. I want to list it on my sidebar and displayed all over my blog. So I create this plugin for that purpose.

スクリーンショット

  • Add or edit the custom field to be displayed as a note on the sidebar as you can find in screenshot-1.png

インストール

Requirement:

I create this plugin for WordPress version 2.9.2. I never test it on lower version, but I think it should work on WordPress version 2.8 that support dynamic sidebar. Right, you also must use ‘widget ready‘ theme.

Installation:

How to install this plugin manually

  • Download: download the plugin to your computer
  • Extract & Upload: extract the source code and upload it to your wordpress plugin directory
  • Activate: login to WP-Admin and activate Highlight Post plugin from Plugins page.

Appearance/CSS:

I did not add any CSS to this plugin. By default, it will use the standard style, as same as “Recent Post” widget. Below are the hint to change the style of this widget.

Just add the code below to your style.

Template CSS:

  • #sidebar li.widget_highlight_post {your_code_goes_here}
  • #sidebar li.widget_highlight_post span.highlight_separator {your_code_goes_here}
  • #sidebar li.widget_highlight_post span.highlight_note {your_code_goes_here}

The Example:

  • #sidebar li.widget_highlight_post {}
  • #sidebar li.widget_highlight_post a span.highlight_separator{font-weight: bold; color: #999999 !important;}
  • #sidebar li.widget_highlight_post a span.highlight_note{display: block; color: #999999 !important; font-size:11px; line-height:100%;}

FAQ

How to change the appearance?

You have to edit style.css of your theme and add some code as mentioned in Installation instruction.

評価

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

貢献者と開発者

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

貢献者

“Plugin Name: Highlight Post Widget” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.0

  • Released this plugin

1.0.2

  • Fix: missing UL close tag when generating widget