该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Single Value Taxonomy UI

描述

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

用法

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.

评价

此插件暂无评价。

贡献者及开发者

“Single Value Taxonomy UI” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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