Single Value Taxonomy UI
This infrastructure plugin adds basic UI for single-valued taxonomies, i.e. a taxonomy with presents a select widget.
评级
最后更新
September 7, 2012
版本
0.3
活跃安装
80
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.
此插件可供下载,可用于您的 WordPress 自托管安装。