Add Descendants As Submenu Items
开发者 |
Viper007Bond
|
更新时间 |
2022年9月6日 17:13 |
WordPress版本: |
6.0 |
版权: |
GPLv2 or later |
版权网址: |
版权信息
|
详情介绍:
When adding a page, category, or any hierarchical custom post type or taxonomy to your navigation menu (Appearance → Menus), this plugin allows you to optionally automatically add all descendants (children) of that menu item as submenu items.
In short, you'll no longer have to manually maintain submenus when you add a new child page to your site.
安装:
Visit Plugins → Add New in your administration area and search for the name of this plugin.
屏幕截图:
更新日志:
Version 1.2.2
- Fix fatal error in customizer when using taxonomies in menus.
- Add POT file for translations.
Version 1.2.1
- Minor update allowing for loading translation files from WordPress.org.
Version 1.2.0
_get_post_ancestors()
will/was deprecated in WordPress 3.5 and no longer works. Parts of this plugin have been rewritten to more properly get post ancestors.
- Bug fix: Don't highlight parents of different types. Post types and terms can have the same IDs.
Version 1.1.0
- Support for hierarchical taxonomies (i.e. categories). Props WPAddiction for the idea.
- Translatable plugin headers.
Version 1.0.1
- Fix sorting by secondarily sorting by title.
Version 1.0.0