Use default wp_nav_menu sorting in Twenty Ten. props iandstewart, fixes #13660.
git-svn-id: https://develop.svn.wordpress.org/trunk@15082 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e5bd1500f0
commit
b030dda0dc
@ -83,7 +83,7 @@
|
||||
<?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
|
||||
<div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
|
||||
<?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>
|
||||
<?php wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
|
||||
<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
|
||||
</div><!-- #access -->
|
||||
</div><!-- #masthead -->
|
||||
</div><!-- #header -->
|
||||
|
Loading…
Reference in New Issue
Block a user