Contextual Category Widget

外掛說明

Contextual Category Widget displays the name and description of the first category assigned to the post currently being viewed.

The widget remains hidden on archives, pages, and posts whose first category has no description. Its output uses the surrounding widget markup supplied by the active theme.

安裝方式

  1. Install and activate Contextual Category Widget.
  2. Add the widget to a widget area in Appearance > Widgets.
  3. Add descriptions to the categories you want the widget to display.

常見問題集

What happens when a post has multiple categories?

The widget displays the first category returned by WordPress for that post.

Can I choose a category in the widget settings?

No. The widget is intentionally contextual and uses the category assigned to the current post.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Contextual Category Widget〉的開發相關工作。

參與者

將〈Contextual Category Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.7.0

  • Add compatibility metadata for current WordPress and PHP versions.
  • Escape and sanitize dynamic widget output.
  • Make the widget name and description translatable.
  • Preserve theme widget wrappers and existing widget registrations.

0.6.1

  • Fix formatting.

0.6

  • Do not display the widget when there is no description for the article’s first category.

0.5.1

  • Fix div wrapping.

0.5

  • Wrap output in a div with class textwidget.

0.4

  • Fix version.

0.3

  • Fix readme.

0.2

  • Rename main file.

0.1

  • First release.