Changeset 42343 for trunk/src/wp-content/themes/twentysixteen/header.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentysixteen/header.php
r42228 r42343 36 36 <?php else : ?> 37 37 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> 38 <?php endif; 38 <?php 39 endif; 39 40 40 41 $description = get_bloginfo( 'description', 'display' ); 41 if ( $description || is_customize_preview() ) : ?> 42 if ( $description || is_customize_preview() ) : 43 ?> 42 44 <p class="site-description"><?php echo $description; ?></p> 43 45 <?php endif; ?> … … 51 53 <nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Primary Menu', 'twentysixteen' ); ?>"> 52 54 <?php 53 wp_nav_menu( array( 54 'theme_location' => 'primary', 55 'menu_class' => 'primary-menu', 56 ) ); 55 wp_nav_menu( 56 array( 57 'theme_location' => 'primary', 58 'menu_class' => 'primary-menu', 59 ) 60 ); 57 61 ?> 58 62 </nav><!-- .main-navigation --> … … 62 66 <nav id="social-navigation" class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'twentysixteen' ); ?>"> 63 67 <?php 64 wp_nav_menu( array( 65 'theme_location' => 'social', 66 'menu_class' => 'social-links-menu', 67 'depth' => 1, 68 'link_before' => '<span class="screen-reader-text">', 69 'link_after' => '</span>', 70 ) ); 68 wp_nav_menu( 69 array( 70 'theme_location' => 'social', 71 'menu_class' => 'social-links-menu', 72 'depth' => 1, 73 'link_before' => '<span class="screen-reader-text">', 74 'link_after' => '</span>', 75 ) 76 ); 71 77 ?> 72 78 </nav><!-- .social-navigation -->
Note: See TracChangeset
for help on using the changeset viewer.