這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Ambrosite Post Formats Widget

外掛說明

Post Formats are a theme feature introduced in WordPress version 3.1. This plugin creates a simple widget that lets you place a list or dropdown of post formats in your sidebar. It works much the same as the Categories widget. The Post Formats Widget offers the following options: set a custom widget title, set custom tooltip text, display as a list or as a dropdown, show or hide post counts, show or hide post format ID numbers.

You must have at least one post assigned to a format other than ‘Standard’ in order for this widget to display anything. Note that there is a %format variable you can use in custom tooltip text to output the format name. Also, the format ID refers to the term_id in the wp_terms table. You would not normally want to display the format IDs to your site visitors, however it may be useful to know the IDs during theme development, since Post Formats are just a specialized case of a custom taxonomy.

螢幕擷圖

  • The Post Formats archive widget

安裝方式

  • Upload ‘ambrosite-post-formats-widget.php’ to the ‘/wp-content/plugins/’ directory.
  • Activate the plugin through the ‘Plugins’ menu in WordPress.
  • Use the Appearance|Widgets menu to configure the widget and add it to your sidebar.

常見問題集

n/a

使用者評論

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

參與者及開發者

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

參與者

將〈Ambrosite Post Formats Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1

  • Added ‘current_format_item’ CSS class to the currently selected format (list display).
  • Added ‘selected’ attribute to the currently selected format (dropdown display).
  • Changed dropdown to use permalinks instead of query strings when permalinks are enabled.

1.0

  • Initial version.