This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Add Descendants As Submenu Items

Description

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.

Screenshots

  • The new checkbox that this plugin adds.
  • The child pages have automatically been added as submenu items.

Installation

Visit Plugins → Add New in your administration area and search for the name of this plugin.

FAQ

Installation Instructions

Visit Plugins → Add New in your administration area and search for the name of this plugin.

Reviews

March 5, 2019
Still works with WordPress 5.1 for Pages in menu. You need to add the Parent to the menu then save. Then edit again to see the checkbox to check the new flag. I was wanting to use it for WordPress Product Categories but it does not work for them (probably never did?). Only the parent shows for me. Be good if it did.
April 30, 2018
I have a very large site with over a thousand pages. There are many pages in sections and subsections, sometimes to four levels, used in conjunction with main sections. To get what I need for a menu, sometimes I have to use Custom Menu Wizard. But in doing so, I have to create some very large, tiered, non-auto menus manually... sometimes in the hundreds of pages. If a user adds a page or re-orders a page, I'd have to go back into the menu used by Custom Menu Wizard and add/edit accordingly to reflect those changes. With this plugin and a simple checkbox I've cut the number of actual necessary menu items to a fraction of before, AND the user can make changes as they please. What a great plug in! It should be part of the default WordPress Appearance menu creator.
September 3, 2016
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.
September 3, 2016
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 🙂
Read all 17 reviews

Contributors & Developers

“Add Descendants As Submenu Items” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

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

  • Initial release!