WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Two Navigation Menus in Themes Produce the same menus?

reference the subject on page link above. i created two navs, yet the secondary nav includes all pages. the main nav is fine, but the secondary nav is including the main nav pages as well.

the two menus contain only the pages i want per nav (appearance > menus). any suggestions?

it is my own theme built from 2010. it is located here > http://journeymaninc.ca/

at a loss at this point.

thanks kindly


share|improve this question
possible duplicate of Two Navigation Menus in Themes Produce the same menus? – ialocin Jun 3 '14 at 15:30

In your theme's functions.php did you register a new WP Menu ? by using a code like this:

register_nav_menus( array(
        'secondary' => __( 'Secondary Navigation', 'twentyten' ),
    ) );

And after that in your theme's header.php under <div id="access" role="navigation"> you should add

<?php wp_nav_menu( array( 'container_class' => 'menu-header-secondary', 'theme_location' => 'secondary' ) ); ?>
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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