Change Category Checkbox to Radio Button

Plugin Banner

Change Category Checkbox to Radio Button

by Md Abul Bashar

Download
Description

If you need to restrict your WordPress posts to select only one category, this plugin automatically changes the category/taxonomy checkboxes to radio buttons in the post editor. This simplifies category selection for users who only want to assign one category to a post.

For full documentation, please visit Documentation.

You can watch this video tutorial for a quick guide: YouTube Video

This section describes how to install the plugin and get it working.

  1. Upload plugin-name.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Once activated, the category checkboxes will automatically change to radio buttons in your post editor.
  1. Example of category radio buttons in the post editor.

    Example of category radio buttons in the post editor.

How do I install this plugin?

  1. Upload plugin-name.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

How do I use this plugin?

Simply install and activate the plugin. Once activated, go to your post editor and check the category/taxonomy section. The checkboxes will have changed to radio buttons, allowing you to select only one category at a time.

Will this plugin work with Gutenberg?

Yes, the plugin supports both the Classic Editor and Gutenberg block editor.

The plugin breaks the appearance of categories in the menu

By Mario62rus on March 2, 2022

Here is a screenshot of the problem https__//disk.yandex.ru/i/CrQqPKFhfzl2aA

Doesn't work with WordPress 5 Gutenberg editor

By leymannx on February 13, 2019

The actual plugin didn't got updated since around August 2015. Only the README got updated in December 2018. The actual plugins consists of only one hook and two lines of JavaScript. Maybe this minimalistic approach worked in WordPress < 5 and that's the two stars of my review. But in the new WordPress 5 block-editor this doesn't do a thing.

Great

By trevorNanders on September 3, 2016

Installed because I wanted to stop users (mu site) from selecting more than one category. For some reason, they like to choose several!
This will stop them.

Works perfectly.
thanks

2.0.1

  • Added full Gutenberg editor support.
  • Updated plugin compatibility to WordPress 6.6.
  • Updated readme for better documentation.

1.1

  • Added support for WordPress 4.3.

1.0

  • Initial release.
Back to top