Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

In the WP menu creation GUI there's the Automatically add top level pages option. I would like to do the opposite, for any page that is in the menu, automatically add it's child pages. Is there a way to do that ?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Simply put: no.

If you want dynamic updating of your menu items, you would probably be better-served using wp_list_pages() or wp_page_menu().

share|improve this answer
Ok thanks. I thought maybe there would be a way to hook into the menu to expand the behavior. – mike23 Jun 20 '11 at 13:08

An alternative, at least, is to use this plugin: Auto Submenu

WordPress can only automatically add new top-level pages to menus. With Auto Submenu, new child pages will also be automatically added to menus.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.