A client has numerous subsites and would like to include a 'global menu' within the packaged theme. I've got a registered location global-menu and I've got it populated with links in functions.php.

Which action do I use to place that menu inside of the theme location?

  • What do you mean you've got "it" populated? Menu Locations and Menu Objects are two separate things.
    – vancoder
    Commented Aug 29, 2016 at 23:04

1 Answer 1


wp_nav_menu displays a navigation menu and 'theme_location' can target a menu registered with register_nav_menu.

wp_nav_menu( array(
    'theme_location' => 'global-menu'
) );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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