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.
Still works great. Much better than Gecka Submenu – it doesn’t break the layout on the menu screen and there’s no unnecessary pro version upsell. I hope this is updated at some point because its age is hiding it from WP’s search results.
This is such a time-saver. I am using this in conjunction with many nested Woocommerce product categories. The root categories don’t change on the main menu, but it’s possible the children will… so now the customer can change those until their fingers bleed and it just works!
Thank you 🙂
Contributors & Developers
“Add Descendants As Submenu Items” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
_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.
- Support for hierarchical taxonomies (i.e. categories). Props WPAddiction for the idea.
- Translatable plugin headers.
- Fix sorting by secondarily sorting by title.
- Initial release!