Changeset 19915 for trunk/wp-content/themes/twentytwelve/header.php
- Timestamp:
- 02/14/2012 03:54:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/header.php
r19845 r19915 14 14 <meta charset="<?php bloginfo( 'charset' ); ?>" /> 15 15 <meta name="viewport" content="width=device-width" /> 16 <title><?php wp_title( '|', true, 'right' ); ?> </title>16 <title><?php wp_title( '|', true, 'right' ); ?> <?php bloginfo( 'name' ); ?></title> 17 17 <link rel="profile" href="http://gmpg.org/xfn/11" /> 18 18 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> … … 28 28 wp_enqueue_script( 'comment-reply' ); 29 29 30 wp_enqueue_style( 'twentytwelve-style', get_ bloginfo( 'stylesheet_url') );30 wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() ); 31 31 ?> 32 32 <?php wp_head(); ?> … … 47 47 <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> 48 48 </nav> 49 50 <?php $header_image = get_header_image(); 51 if ( ! empty( $header_image ) ) : ?> 52 <img src="<?php echo esc_url( $header_image ); ?>" alt="" /> 53 <?php endif; ?> 49 54 </header><!-- #masthead --> 50 55
Note: See TracChangeset
for help on using the changeset viewer.