Ticket #26950: 26950.no-title.patch
| File 26950.no-title.patch, 2.1 KB (added by , 12 years ago) |
|---|
-
src/wp-content/themes/twentyeleven/header.php
71 71 <div id="page" class="hfeed"> 72 72 <header id="branding" role="banner"> 73 73 <hgroup> 74 <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>"rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>74 <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1> 75 75 <h2 id="site-description"><?php bloginfo( 'description' ); ?></h2> 76 76 </hgroup> 77 77 … … 132 132 <nav id="access" role="navigation"> 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 <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> 135 <div class="skip-link"><a class="assistive-text" href="#content"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div> 136 <?php if ( ! is_singular() ) : ?> 137 <div class="skip-link"><a class="assistive-text" href="#secondary"><?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 -->