Radio Buttons for Taxonomies
Replace the default taxonomy boxes with a custom metabox that uses radio buttons… effectively limiting each post to a single term in that taxonomy. A plugin options page allows the user can select which taxonomies she’d like to switch to using the custom radio-button style metabox. Originally based
Replace the default taxonomy boxes with a custom metabox that uses radio buttons… effectively limiting each post to a single term in that taxonomy.
A plugin options page allows the user can select which taxonomies she’d like to switch to using the custom radio-button style metabox.
Originally based on the the class by Stephen Harris
Support
Support is handled in the WordPress forums . Please note that support is limited and does not cover any custom implementation of the plugin. Before posting a question, read the FAQ and confirm that the problem still exists with a default theme and with all other plugins disabled.
Please report any bugs, errors, warnings, code problems to Github
Screenshots & previews.
- 01Upload the plugin folder to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Go to Settings > Radio Buttons for Taxonomies and use the checkboxes to indicate which taxonomies you’d like to use radio buttons
Frequently asked questions.
Why do the metaboxes have a “No {$taxonomy}” ( ex: No Genre ) radio button!?
This was a feature added in version 1.4, but due to some faulty logic on my part probably wasn’t showing it everywhere that I intended.
It has come to my attention that not everybody likes this feature, so I have enabled an easy way to disable it for taxonomies that you wish to make mandatory. Simply add the following to your theme’s functions.php or your site’s custom functions plugin.
add_filter( "radio_buttons_for_taxonomies_no_term_{$taxonomy}", "__return_FALSE" );