Changeset 60483 for trunk/src/wp-content/themes/twentythirteen/header.php
- Timestamp:
- 07/18/2025 03:29:06 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentythirteen/header.php
r59913 r60483 30 30 </a> 31 31 <header id="masthead" class="site-header"> 32 <?php $is_front = ! is_paged() && ( is_front_page() || ( is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) ); ?> 32 <?php 33 $is_front = ! is_paged() && ( is_front_page() || ( is_home() && ( (int) get_option( 'page_for_posts' ) !== get_queried_object_id() ) ) ); 34 $site_name = get_bloginfo( 'name', 'display' ); 35 $site_description = get_bloginfo( 'description', 'display' ); 36 37 ?> 33 38 <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home" <?php echo $is_front ? 'aria-current="page"' : ''; ?>> 34 <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> 35 <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> 39 <?php if ( $site_name ) : ?> 40 <h1 class="site-title"><?php echo $site_name; ?></h1> 41 <?php endif; ?> 42 <?php if ( $site_description ) : ?> 43 <h2 class="site-description"><?php echo $site_description; ?></h2> 44 <?php endif; ?> 36 45 </a> 37 46
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)