Embed Menus Within Menus

  1. Red Pixel Studios


    For larger websites, navigation menus can often become so large that it is difficult to work with them in the Appearance > Menus editor.

    In the menu editor, you have several different choices for items that you can insert into the menu. For example, you can insert "custom links", "pages", "categories", etc (pages being the most common). I propose that there be a new option to allow you to insert a reference to another menu. For example, if I create 2 menus: Menu A and Menu B, it would be nice if you could insert a reference to Menu B from anywhere inside Menu A.

    As wp_nav_menu() loops through each item in the menu to compile an unordered list to return, it should check if the item is a menu reference, and if so it should make a recursive call to itself to return the referenced menu in that location.

    If you have any questions or need further explanation, feel free to ask. Thanks!

    Posted: 7 years ago #
  2. rsteer


    I've wished it were possible to build up menus in a *modular* fashion, and it seems like this proposal would probably allow that. A modular approach would be particularly helpful when constructing "mega-menus" -- each block or chunk in the mega-menu could be a building-block menu that might appear in a couple of different contexts. Define it once, then re-use it in any custom menu where it's appropriate.

    Posted: 6 years ago #
  3. cellulitebekaempfen


    It's still not possible, right? I hope that someone sees this who has the power to code this into core. Till now we only have the option to show menu A or B, but not A with a link to B. Or did I misunderstood anything?

    Best regards

    Posted: 2 years ago #
  4. Marcel Oerlemans

    This is not yet a core function indeed, but the free plugin Navception does the job excellent and easy! I'm not a programmer but can work with this plugin. I use it for several websites with large menu's.


    Hope this helps you!

    Posted: 2 years ago #
  5. audiocheck

    Thank you Marcel, I use this plugin now and it works pretty well!
    Thank you so much!

    Posted: 1 year ago #
  6. Not sure if this idea is still "active" but as far as I know it hasn't been implemented, right?

    This would be a very useful feature even tough I am not always a fan of super big menues because it might affect the user experience.

    Nevertheless I am in need for this feature for a current client. I am using the Mega Menue Plugin to build in depth and visual structures. A out of the box option in WP would be great.

    Posted: 1 year ago #
  7. michaelah82

    Hello Parkerlightroompresets,

    i see that there is still demand for this Topic, so i want to draw your attention to several plugins that are already out there for such customizations.
    Also some WP Themes come with verious methods to dig deeper - The Newspaper Theme would be on of the Many examples

    Posted: 11 months ago #
  8. luftbilder

    Hello michaelah82,

    thanks for the hint. I startet searching for similar themes and found quite a lot. I found one theme which comes with the "MegaMenue Plugin". This is basically a paid plugin, but some themes have it included for free. The great thing about this plugin is, that you have endless styling options and can also use pictures in larger menues. (which I did not try yet)

    Posted: 5 months ago #
  9. I dont know if the described behaviour would be the most convenient way, but I definitely would support a new way of organizing and displaying big menus. On some of my websites the main menu has more than 100 entries and it is a real pain in the ... to work on this.

    Posted: 4 months ago #
  10. freeluts

    I tried the MegaMenue option as suggested above and think it's a good alternative but not ideal. In terms of design the possibilities of customization are endless but also complicated. Moreover I try to avoid plugins as much as possible to keep the pagespeed fast.

    A solid build-in option for large menues would be really awesome! I need large menues in almost any project.

    Posted: 2 months ago #

RSS feed for this topic


You must log in to post.

  • Rating

    26 Votes
  • Status

    This idea is under consideration