Take the 2-minute tour ×
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

1 Answer 1

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

Your Answer

 
discard

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.