Changeset 56583 for trunk/src/wp-content/themes/twentyeleven/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/twentyeleven/header.php
r56315 r56583 112 112 echo get_the_post_thumbnail( $post->ID, 'post-thumbnail' ); 113 113 } else { 114 // Compatibility with versions of WordPress prior to 3.4. 115 if ( function_exists( 'get_custom_header' ) ) { 116 $header_image_width = get_custom_header()->width; 117 $header_image_height = get_custom_header()->height; 118 } else { 119 $header_image_width = HEADER_IMAGE_WIDTH; 120 $header_image_height = HEADER_IMAGE_HEIGHT; 121 } 122 ?> 123 <img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /> 124 <?php 114 twentyeleven_header_image(); 125 115 } // End check for featured image or standard header. 126 116 ?>
Note: See TracChangeset
for help on using the changeset viewer.