Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Categories Metabox Enhanced

Описание

Thanks to Taxonomy_Single_Term, a library created by WebDevStudios, it made my work much easier on creating this plugin.

With Categories Metabox Enhanced, you can:

  • Change the built-in Categories metabox/panel to a single term UI, which means replacing the checkboxes with radio buttons or a select drop-down.
  • Apply the single term UI to other hierarchical taxonomies in the plugin’s Settings page.
  • Customized the single term UI by setting these options:
    • Priority and position of the metabox placement.
    • Title of the metabox.
    • If child-terms should be indenting.
    • If adding of new terms from the metabox is enable.

Скриншоты

  • The checkboxes in Categories metabox are replaced with radio buttons
  • The checkboxes in Categories metabox are replaced with a select drop-down
  • A settings page for this plugin

Установка

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

Отзывы

04.09.2020
This plugin is perfect it saves me to create a CMS because of enforcing select only one category every post! . . Thanks, Author :))
14.02.2019 1 ответ
Clever solution IMHO that this plugin simply replaces the default meta boxes with its own. Unfortunately in WP 5 Gutenberg the default category / taxonomy meta boxes still are visible.
11.05.2018
This plugin is easy to use and just works 🙂 Replace checkboxes for radios! FTW
15.01.2018 1 ответ
I've used this plugin on multiple sites for years. It works great and keeps editors from placing things in multiple categories. Although I understand that not everyone uses categories the same way, it feel like WordPress should have a setting that forces categories to be one per post. In my use, tags are better suited when you have a variety of ways you want to classify a post. It would be nice to be able to specify a default category, though.
Посмотреть все 16 отзывов

Участники и разработчики

«Categories Metabox Enhanced» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Categories Metabox Enhanced» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

0.7.1

  • Update the Taxonomy_Single_Term library and some cosmetic fixes.

0.7.0

  • Support the single term UI in Gutenberg sidebar Categories/Taxonomies panels.

0.6.1

  • Remove git submodule from this plugin.

0.6.0

  • Indent the child-terms in select options.
  • Remove unused CSS and JS files.

0.5.0

  • The first version.