How can I add a page to the menu and define for the menu item that all subpages should be included by means of a simple checkbox?

3 Answers 3


you might be interested in one of my threads. Here: How to Hard Code Custom menu items


  • You can modify the code to find all the children and add them
    – Sisir
    Commented May 7, 2011 at 9:59

You've probably figured this out since this is an old question, but the new menus for WP 3.0+ has a "menus" option that lets you drap a drop pages to form your menus.

The "menus" option also uses a checkbox to determine which pages are included.


  • I am actually looking for a way to add one "page" and have all its children automatically included. Commented Jan 26, 2011 at 2:52

Wordpress Menu do not work by automatically generating content. You can use the menu editor to add your pages manually, but menus do not get populated automatically.

So there is nothing in the Wordpress Frontend Menu API (undocumented) with which you could achieve what you're asking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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