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?
Leave a Reply
You must be logged in to post a comment.
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?
You must be logged in to post a comment.
you might be interested in one of my threads. Here: How to Hard Code Custom menu items
Thanks!
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.