Changeset 56583 for trunk/src/wp-content/themes/twentysixteen/header.php
- Timestamp:
- 09/14/2023 11:23:59 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentysixteen/header.php
r55276 r56583 103 103 <div class="header-image"> 104 104 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"> 105 <img src="<?php header_image(); ?>" srcset="<?php echo esc_attr( wp_get_attachment_image_srcset( get_custom_header()->attachment_id ) ); ?>" sizes="<?php echo esc_attr( $custom_header_sizes ); ?>" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /> 105 <?php 106 $custom_header = get_custom_header(); 107 $attrs = array( 108 'alt' => get_bloginfo( 'name', 'display' ), 109 'sizes' => $custom_header_sizes, 110 'height' => $custom_header->height, 111 'width' => $custom_header->width, 112 ); 113 114 the_header_image_tag( $attrs ); 115 ?> 106 116 </a> 107 117 </div><!-- .header-image -->
Note: See TracChangeset
for help on using the changeset viewer.