Changeset 17802 for trunk/wp-content/themes/twentyeleven/header.php
- Timestamp:
- 05/04/2011 10:54:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/header.php
r17787 r17802 48 48 <link rel="profile" href="http://gmpg.org/xfn/11" /> 49 49 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> 50 <?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>51 50 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 52 51 <!--[if lt IE 9]> 53 52 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script> 54 53 <![endif]--> 54 <?php 55 /* We add some JavaScript to pages with the comment form 56 * to support sites with threaded comments (when in use). 57 */ 58 if ( is_singular() && get_option( 'thread_comments' ) ) 59 wp_enqueue_script( 'comment-reply' ); 55 60 56 <?php wp_head(); ?> 61 /* Always have wp_head() just before the closing </head> 62 * tag of your theme, or you will break many plugins, which 63 * generally use this hook to add elements to <head> such 64 * as styles, scripts, and meta tags. 65 */ 66 wp_head(); 67 ?> 57 68 </head> 58 69 … … 101 112 <nav id="access" role="navigation"> 102 113 <h1 class="section-heading"><?php _e( 'Main menu', 'twentyeleven' ); ?></h1> 114 <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> 103 115 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyeleven' ); ?>"><?php _e( 'Skip to content', 'twentyeleven' ); ?></a></div> 104 116 <?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. */ ?> 105 117 <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> 106 118 </nav><!-- #access -->
Note: See TracChangeset
for help on using the changeset viewer.