Skip to content

Commit

Permalink
Changed name of nav menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottSmith95 committed Aug 12, 2013
1 parent 2594e38 commit 1dbfca1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ function decode_setup() {
) ) );

/**
* This theme uses wp_nav_menu() in one location.
* This theme uses wp_nav_menu() once in header.php.
*/
register_nav_menus( array(
'primary' => __( 'Primary Menu', 'decode' ),
'navigation' => __( 'Nav Menu', 'decode' ),
) );
}
endif; // decode_setup
Expand Down
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
<?php if (get_theme_mod( 'show_site_navigation', true ) == true ) : ?>
<nav id="site-navigation" class="main-navigation" role="navigation">
<div class="screen-reader-text skip-link"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'decode' ); ?>"><?php _e( 'Skip to content', 'decode' ); ?></a></div>
<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>
<?php wp_nav_menu( array( 'theme_location' => 'navigation' ) ); ?>
</nav><!-- #site-navigation -->
<?php endif; ?>

Expand Down

0 comments on commit 1dbfca1

Please sign in to comment.