I simply want a second menu in my sidebar to show on all pages. My theme only supports one custom menu though. I am using the first custom menu for the top level nav, and I wanted my 2nd custom menu in the sidebar. I created a second menu and tried adding it using the custom menu widget, however this just adds my first menu, I'm guessing because the theme only supports one menu.

2 Answers 2


Search for the code give here in your themes functions.php file. and register second nave menu as show here.

register_nav_menus( array(
    'primary-nav' => "Primary Menu", // file may have this with different name
    'sidebar-nav' => "Sidebar Menu"   //add this line
) );

Use custom menu widget to show it up in sidebar. OR If you want to edit the theme template, then put following code where you want the second menu to appear put follwoing code

wp_nav_menu( array(
    'theme_location' => 'sidebar-nav'
) );

Now you can got to Menu Appearance Screen to assign items to it.


on your sidebar, if your theme supports widgets, you can add a custom menu widget and use that to load your secondary menu.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.