Ticket #26950: 26950.patch
| File 26950.patch, 1.5 KB (added by , 12 years ago) |
|---|
-
src/wp-content/themes/twentyeleven/header.php
133 133 <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3> 134 134 <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> 135 135 <div class="skip-link"><a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div> 136 <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div> 136 <?php if ( is_singular() ) : ?> 137 <div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div> 138 <?php endif; ?> 137 139 <?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. */ ?> 138 140 <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> 139 141 </nav><!-- #access -->