Changeset 47122 for trunk/src/wp-content/themes/twentyten/header.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-content/themes/twentyten/header.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/header.php
r45932 r47122 87 87 } 88 88 89 // Check if this is a post or page, if it has a thumbnail, and if it's a big one 89 // Check if this is a post or page, if it has a thumbnail, and if it's a big one. 90 90 if ( is_singular() && has_post_thumbnail( $post->ID ) ) { 91 91 $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), array( $header_image_width, $header_image_width ) ); … … 106 106 <img src="<?php header_image(); ?>" width="<?php echo esc_attr( $header_image_width ); ?>" height="<?php echo esc_attr( $header_image_height ); ?>" alt="" /> 107 107 <?php 108 } // end check for featured image or standard header108 } // End check for featured image or standard header. 109 109 ?> 110 110 </div><!-- #branding --> 111 111 112 112 <div id="access" role="navigation"> 113 <?php / * Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */?>113 <?php // Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. ?> 114 114 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div> 115 <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assiged to the primary position is the one used. If none is assigned, the menu with the lowest ID is used. */ ?>116 115 <?php 116 /* 117 * Our navigation menu. If one isn't filled out, wp_nav_menu() falls back to wp_page_menu(). 118 * The menu assigned to the primary location is the one used. 119 * If one isn't assigned, the menu with the lowest ID is used. 120 */ 117 121 wp_nav_menu( 118 122 array(
Note: See TracChangeset
for help on using the changeset viewer.