Put a wp_nav_menu inside another one

I’ve got two wp_nav_menu’s defined – main and sub. The backend menu editor lets me add pages or categories or custom links to my menu, and I can place them under existing pages/categories/links.

However, I want to add my sub pages to the sub menu, and then be able to add that sub menu as a whole item to my main menu.

Read More

That way, if I change up what’s in my sub menu, I don’t also have to go change my main menu too, see what I mean. Nice and DRY. Useful if I have my submenu in multiple places (like as a drop down from the main menu, plus on a detail page in the sidebar.)

Is this possible? Is there a plug in or custom function? Thanks.

Related posts

Leave a Reply

1 comment