summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/twentysixteen/header.php')
-rw-r--r--themes/twentysixteen/header.php32
1 files changed, 13 insertions, 19 deletions
diff --git a/themes/twentysixteen/header.php b/themes/twentysixteen/header.php
index 9bc0d3e6..d230c4f8 100644
--- a/themes/twentysixteen/header.php
+++ b/themes/twentysixteen/header.php
@@ -35,12 +35,10 @@
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
- <?php
- endif;
+ <?php endif;
$description = get_bloginfo( 'description', 'display' );
-if ( $description || is_customize_preview() ) :
- ?>
+ if ( $description || is_customize_preview() ) : ?>
<p class="site-description"><?php echo $description; ?></p>
<?php endif; ?>
</div><!-- .site-branding -->
@@ -52,12 +50,10 @@ if ( $description || is_customize_preview() ) :
<?php if ( has_nav_menu( 'primary' ) ) : ?>
<nav id="site-navigation" class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Primary Menu', 'twentysixteen' ); ?>">
<?php
- wp_nav_menu(
- array(
- 'theme_location' => 'primary',
- 'menu_class' => 'primary-menu',
- )
- );
+ wp_nav_menu( array(
+ 'theme_location' => 'primary',
+ 'menu_class' => 'primary-menu',
+ ) );
?>
</nav><!-- .main-navigation -->
<?php endif; ?>
@@ -65,15 +61,13 @@ if ( $description || is_customize_preview() ) :
<?php if ( has_nav_menu( 'social' ) ) : ?>
<nav id="social-navigation" class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'twentysixteen' ); ?>">
<?php
- wp_nav_menu(
- array(
- 'theme_location' => 'social',
- 'menu_class' => 'social-links-menu',
- 'depth' => 1,
- 'link_before' => '<span class="screen-reader-text">',
- 'link_after' => '</span>',
- )
- );
+ wp_nav_menu( array(
+ 'theme_location' => 'social',
+ 'menu_class' => 'social-links-menu',
+ 'depth' => 1,
+ 'link_before' => '<span class="screen-reader-text">',
+ 'link_after' => '</span>',
+ ) );
?>
</nav><!-- .social-navigation -->
<?php endif; ?>