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

Single Value Taxonomy UI

描述

This infrastructure plugin adds basic UI for single-valued taxonomies, i.e. a taxonomy with presents a select widget.

Usage

When registering your custom taxonomy, add the argument single_value set to true to get the single value UI. If a selection of this term is required, also add required set to true.

register_taxonomy(
    'astrological_sign',
    array( 'person' ),
    array(
        'hierarchical' => false,
        'show_ui' => true,
        'required' => true,
        'single_value' => true
    )
);

Development of this plugin supported by MIT Global Shakespeares.

螢幕截圖

  • An example of two single value taxonomies

安裝

  1. Upload to your plugins folder, usually wp-content/plugins/. Activate.
  2. Create your single valued custom taxonomy. See the readme for details.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Single Value Taxonomy UI” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Single Value Taxonomy UI 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.3

  • Bugfix: fixed behavior with apostrophes in terms.

0.2

  • Use singular_name, if specified, instead of name. Thanks to Reuven Kaplan for the suggestion.

0.1

  • Initial upload