该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Categories in Hierarchical Order

描述

Gutenberg Editor already maintains the parent-child relationship when you select a category. So the child doesn’t move at the top in the category meta box. So this plugin isn’t required if you’re using the Gutenberg Editor.

Categories in Hierarchical Order plugin applies to WordPress Classic Post Editor only.

This plugin contains functionality to let you maintain default hierarchical order of categories when you select and save them for a post in your WordPress Admin Classic Post Editor.

The selected category/categories, to which a post belongs, are by default pushed at the top in the Category tab while saving the post. Whereas activating Categories in Hierarchical Order plugin will keep the position of selected category/categories unchanged as per their parent/child relationship.

For support, use support page available here or visit the page at our official website. A GitHub repo is also there to post issues, contribution and feature requests.

屏幕截图

  • WordPress default category order
  • Category hierarchy maintained by the plugin

安装

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

e.g.

  1. Install Categories in Hierarchical Order plugin either via the WordPress.org plugin directory or by uploading the categories-in-hierarchical-order folder to /wp-content/plugins/ directory at your server
  2. Activate the Plugin through the ‘Plugins’ menu in WordPress
  3. You are ready

常见问题

Is this plugin compatible with custom taxonomies?

Yes, this plugin supports custom taxonomy

Is there any setting option with this plugin?

No, this plugin hasn’t any setting

Does the plugin work on Gutenberg Editor too?

No. This is for Classic Editor only.

评价

2022 年 4 月 11 日
Faz 1 ano que esse plugin não recebeu uma atualização, e o plugin pode ficar vulnerável. Não abandone este plugin , pois ele é ótimo e ajuda em muito. obrogado por ele!
2019 年 7 月 19 日
Does the trick perfectly, thanks! 🙂
2019 年 3 月 6 日
Don't understand why this plug-in doesn't have more reviews. It's one of the first I install. I have sites with a subject category and then a subject-date category. this allows me to keep the dates with the categories without naming them with both the category and the date. Otherwise, I would see 1978 chosen but not be able to check that I had chosen photos>1978 or notes>1978. Repeating the category name with every date would add twice the number of terms in far too many places.
2018 年 7 月 26 日
Why is this not part of the WordPress core yet? This plugin fixed my ugly looking category structure! Thanks guys!
阅读所有14条评价

贡献者及开发者

“Categories in Hierarchical Order” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.3.1

  • Security improvement by blocking direct file access

1.3

  • GitHub and support links updated
  • Tested up to WordPress version 5.6 with Classic Editor

1.2

  • Changed the Class constructor for compatibility to PHP 7

1.1

  • Tested to support latest WordPress version

1.0

  • Maintain category hierarchical order