WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 0 down vote accepted

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


share|improve this answer
You can modify the code to find all the children and add them – Sisir May 7 '11 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.


share|improve this answer
I am actually looking for a way to add one "page" and have all its children automatically included. – NetConstructor.com Jan 26 '11 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.

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.