Changeset 42343 for trunk/src/wp-content/themes/twentyfifteen/sidebar.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/sidebar.php
r30394 r42343 8 8 */ 9 9 10 if ( has_nav_menu( 'primary' ) || has_nav_menu( 'social' ) || is_active_sidebar( 'sidebar-1' ) ) : ?>10 if ( has_nav_menu( 'primary' ) || has_nav_menu( 'social' ) || is_active_sidebar( 'sidebar-1' ) ) : ?> 11 11 <div id="secondary" class="secondary"> 12 12 … … 15 15 <?php 16 16 // Primary navigation menu. 17 wp_nav_menu( array( 18 'menu_class' => 'nav-menu', 19 'theme_location' => 'primary', 20 ) ); 17 wp_nav_menu( 18 array( 19 'menu_class' => 'nav-menu', 20 'theme_location' => 'primary', 21 ) 22 ); 21 23 ?> 22 24 </nav><!-- .main-navigation --> … … 27 29 <?php 28 30 // Social links navigation menu. 29 wp_nav_menu( array( 30 'theme_location' => 'social', 31 'depth' => 1, 32 'link_before' => '<span class="screen-reader-text">', 33 'link_after' => '</span>', 34 ) ); 31 wp_nav_menu( 32 array( 33 'theme_location' => 'social', 34 'depth' => 1, 35 'link_before' => '<span class="screen-reader-text">', 36 'link_after' => '</span>', 37 ) 38 ); 35 39 ?> 36 40 </nav><!-- .social-navigation -->
Note: See TracChangeset
for help on using the changeset viewer.