Changeset 47122 for trunk/src/wp-content/themes/twentyeleven/header.php
- Timestamp:
- 01/29/2020 12:43:23 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyeleven/header.php
r46195 r47122 84 84 85 85 <?php 86 // Check to see if the header image has been removed 86 // Check to see if the header image has been removed. 87 87 $header_image = get_header_image(); 88 88 if ( $header_image ) : … … 122 122 <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' ) ); ?>" /> 123 123 <?php 124 } // end check for featured image or standard header124 } // End check for featured image or standard header. 125 125 ?> 126 126 </a> 127 <?php endif; // end check for removed header image?>127 <?php endif; // End check for removed header image. ?> 128 128 129 129 <?php … … 146 146 <nav id="access" role="navigation"> 147 147 <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3> 148 <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assigned to the primary location is the one used. If one isn't assigned, the menu with the lowest ID is used. */ ?> 149 <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> 148 <?php 149 /* 150 * Our navigation menu. If one isn't filled out, wp_nav_menu() falls back to wp_page_menu(). 151 * The menu assigned to the primary location is the one used. 152 * If one isn't assigned, the menu with the lowest ID is used. 153 */ 154 wp_nav_menu( array( 'theme_location' => 'primary' ) ); 155 ?> 150 156 </nav><!-- #access --> 151 157 </header><!-- #branding -->
Note: See TracChangeset
for help on using the changeset viewer.