Changeset 42343 for trunk/src/wp-content/themes/twentyfifteen/header.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/header.php
r36913 r42343 32 32 twentyfifteen_the_custom_logo(); 33 33 34 if ( is_front_page() && is_home() ) : ?> 34 if ( is_front_page() && is_home() ) : 35 ?> 35 36 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 36 37 <?php else : ?> 37 38 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> 38 <?php endif; 39 <?php 40 endif; 39 41 40 42 $description = get_bloginfo( 'description', 'display' ); 41 if ( $description || is_customize_preview() ) : ?> 43 if ( $description || is_customize_preview() ) : 44 ?> 42 45 <p class="site-description"><?php echo $description; ?></p> 43 <?php endif; 46 <?php 47 endif; 44 48 ?> 45 49 <button class="secondary-toggle"><?php _e( 'Menu and widgets', 'twentyfifteen' ); ?></button>
Note: See TracChangeset
for help on using the changeset viewer.