Support » Requests and Feedback » Automatically populate custom menu items with subpages

  • I would like to create a custom menu (in this instance it’s for the excellent Twenty Ten theme) in which I can check a box that allows a menu item’s child pages to automatically be added to the menu.

    Child pages are already automatically added in the main menu when it’s not a custom menu.

    For example: when I create a custom menu and add pages to it, in the menu item options for each page, I think there should be a checkbox that simply says “Automatically add subpages of this item to the menu.”

    This seems like an obvious functionality to me. I wonder why it’s not already there.

Viewing 9 replies - 1 through 9 (of 9 total)
  • AGREED! I would love a way to have a custom menu to duplicate the entire heirarchy and not just top level pages. I went through the trouble of specifying a parent page when I created it, I need to not only enter it by hand into the menu, I also have to re-position it.

    It’s a pain to use custom menus on anything but a tiny site.

    Anyone know of anything?



    Forum Janitor

    Bill Addison


    Plus 1 on this feature.

    I heard there’s a way to manually write your own custom “wp_nav_menu” function to facilitate this but seems complicated.

    One other feature I’d like to add here is to automatically set the title attribute for all links as it’s content unless otherwise specified.

    Here is a plug-in I just published. It replaces the core auto-add function with one that automatically populates sub-menus. It also adds a much needed function of removing menu items when pages are no-longer marked as published.

    Hello jessejd, your plugin has installed and activated with no problem … but when I check the ‘Automatically add new top-level pages’ checkbox, and save the menu, it doesn’t add the subpages attached to my top level page.
    Am I missing something ?
    THX for help 🙂

    yea, doesn’t work for me either. It just adds it as a top level page. Hmmm..

    any luck with this plugin for anyone else?

    Hi, the Enhanced Custom Menu plug-in seams broken, but the “gecka sub menu” plugin should do the trick. You will just have to create your menu with the 1st level items, save it, and you’ll get a checkbox “Autopopulating with child pages ” for each of you’re menu items 🙂

    BIG thanks for posting about gecka submenu. Absolutely fantastic, no more manually adding every page to my menu!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Automatically populate custom menu items with subpages’ is closed to new replies.