Beskriuwing
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.
Skermôfbyldings
Ynstallaasje
- Upload to your plugins folder, usually
wp-content/plugins/
. Activate. - Create your single valued custom taxonomy. See the readme for details.
Resinsjes
D’r binne gjin resinsjes foar dizze plugin.
Meiwurkers & amp; Untwikkelders
“Single Value Taxonomy UI” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.
MeiwurkersOersette “Single Value Taxonomy UI” yn jo taal.
Ynteressearre yn ûntwikkeling?
Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .
Feroaringslog
0.3
- Bugfix: fixed behavior with apostrophes in terms.
0.2
- Use
singular_name
, if specified, instead ofname
. Thanks to Reuven Kaplan for the suggestion.
0.1
- Initial upload