BACK TO DIRECTORY

Single Value Taxonomy UI

by mitcho (Michael Yoshitaka Erlewine)

5.0
(1 ratings)

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.

Screenshots

An example of two single value taxonomies

An example of two single value taxonomies

Plugin Details

Active Installs
40
Total Downloads
5,121
Version
0.3
Requires WP
3.1
Requires PHP
Tested Up To
3.4.2
Added
2011-12-11
Last Updated
2012-09-07 1:18pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0