Changeset 44149 for trunk/src/wp-content/themes/twentynineteen/template-parts/header/site-branding.php
- Timestamp:
- 12/14/2018 02:32:33 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
- 1 copied
-
. (modified) (1 prop)
-
src/wp-content/themes/twentynineteen (copied) (copied from branches/5.0/src/wp-content/themes/twentynineteen )
-
src/wp-content/themes/twentynineteen/template-parts/header/site-branding.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43808,43821,43842,43860,43892,43904,43909,43926-43929,43956,43961-43963
- Property svn:mergeinfo changed
-
trunk/src/wp-content/themes/twentynineteen/template-parts/header/site-branding.php
r43808 r44149 5 5 * @package WordPress 6 6 * @subpackage Twenty_Nineteen 7 * @since 1.0.0 7 8 */ 8 9 ?> … … 12 13 <div class="site-logo"><?php the_custom_logo(); ?></div> 13 14 <?php endif; ?> 14 15 <?php if ( is_front_page() && is_home() ) : ?> 16 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 17 <?php else : ?> 18 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> 15 <?php $blog_info = get_bloginfo( 'name' ); ?> 16 <?php if ( ! empty( $blog_info ) ) : ?> 17 <?php if ( is_front_page() && is_home() ) : ?> 18 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> 19 <?php else : ?> 20 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> 21 <?php endif; ?> 19 22 <?php endif; ?> 20 23 … … 34 37 'theme_location' => 'menu-1', 35 38 'menu_class' => 'main-menu', 39 'items_wrap' => '<ul id="%1$s" class="%2$s" tabindex="0">%3$s</ul>', 36 40 ) 37 41 ); … … 40 44 <?php endif; ?> 41 45 <?php if ( has_nav_menu( 'social' ) ) : ?> 42 <nav class="social-navigation" aria-label="<?php esc_attr_e( ' FooterSocial Links Menu', 'twentynineteen' ); ?>">46 <nav class="social-navigation" aria-label="<?php esc_attr_e( 'Social Links Menu', 'twentynineteen' ); ?>"> 43 47 <?php 44 48 wp_nav_menu(
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)