Default menu editor with automatic page list

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?

Related posts

Leave a Reply

3 comments

  1. 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.

    HTH

  2. 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.