Question

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?

Was it helpful?

Solution

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

Thanks!

OTHER TIPS

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

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange
scroll top