跳到内容

Single Value Taxonomy UI

v0.3

mitcho (Michael Yoshitaka Erlewine) · 2011年12月11日 上架

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

正在使用
50+
评分
5.0 / 5
累计下载
5,311
最近更新
2012年9月7日
1 条评价需要 WordPress 3.1+已测试到 3.4.2

截图

An example of two single value taxonomies
An example of two single value taxonomies

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums