Changeset 13025 for trunk/wp-content/themes/twentyten/header.php
- Timestamp:
- 02/08/2010 06:02:23 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-content/themes/twentyten/header.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/header.php
r13012 r13025 3 3 <head> 4 4 <title><?php 5 if ( is_single() ) { single_post_title(); print ' | '; bloginfo('name'); } 5 if ( is_single() ) { single_post_title(); print ' | '; bloginfo('name'); } 6 6 elseif ( is_home() || is_front_page() ) { bloginfo('name'); print ' | '; bloginfo('description'); get_page_number(); } 7 7 elseif ( is_page() ) { single_post_title(''); print ' | '; bloginfo('name'); } … … 10 10 else { bloginfo('name'); wp_title('|'); get_page_number(); } 11 11 ?></title> 12 12 13 13 <meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> 14 14 15 15 <link rel="profile" href="http://gmpg.org/xfn/11"> 16 16 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" /> 17 17 <link rel="stylesheet" type="text/css" media="print" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" /> 18 18 19 19 <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> 20 20 21 21 <?php wp_head(); ?> 22 22 23 23 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url'); ?>" title="<?php printf( __( '%s latest posts', 'twentyten' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" /> 24 24 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('comments_rss2_url') ?>" title="<?php printf( __( '%s latest comments', 'twentyten' ), wp_specialchars( get_bloginfo('name'), 1 ) ); ?>" /> 25 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> 25 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> 26 26 </head> 27 27 … … 31 31 <div id="header"> 32 32 <div id="masthead"> 33 33 34 34 <div id="branding"> 35 35 <div id="site-title"><span><a href="<?php bloginfo( 'url' ) ?>/" title="<?php bloginfo( 'name' ) ?>" rel="home"><?php bloginfo( 'name' ) ?></a></span></div> 36 36 <div id="site-description"><?php bloginfo( 'description' ) ?></div> 37 37 38 38 <?php 39 39 global $post; … … 44 44 <?php } ?> 45 45 </div><!-- #branding --> 46 46 47 47 <div id="access"> 48 48 <div class="skip-link screen-reader-text"><a href="#content" title="<?php _e( 'Skip to content', 'twentyten' ) ?>"><?php _e( 'Skip to content', 'twentyten' ) ?></a></div> 49 <?php wp_page_menu( 'sort_column=menu_order' ); ?> 49 <?php wp_page_menu( 'sort_column=menu_order' ); ?> 50 50 </div><!-- #access --> 51 52 </div><!-- #masthead --> 51 52 </div><!-- #masthead --> 53 53 </div><!-- #header --> 54 54 55 55 <div id="main">
Note: See TracChangeset
for help on using the changeset viewer.