Changeset 13128 for trunk/wp-content/themes/twentyten/header.php
- Timestamp:
- 02/14/2010 01:00:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/header.php
r13112 r13128 6 6 single_post_title(); echo ' | '; bloginfo('name'); 7 7 } elseif ( is_home() || is_front_page() ) { 8 bloginfo('name'); echo ' | '; bloginfo('description'); get_page_number();8 bloginfo('name'); echo ' | '; bloginfo('description'); twentyten_get_page_number(); 9 9 } elseif ( is_page() ) { 10 10 single_post_title(''); echo ' | '; bloginfo('name'); 11 11 } elseif ( is_search() ) { 12 printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); get_page_number(); echo ' | '; bloginfo('name');12 printf(__('Search results for "%s"', 'twentyten'), esc_html($s)); twentyten_get_page_number(); echo ' | '; bloginfo('name'); 13 13 } elseif ( is_404() ) { 14 14 _e('Not Found', 'twentyten'); echo ' | '; bloginfo('name'); 15 15 } else { 16 wp_title(''); echo ' | '; bloginfo('name'); get_page_number();16 wp_title(''); echo ' | '; bloginfo('name'); twentyten_get_page_number(); 17 17 } 18 18 ?></title> … … 28 28 <?php wp_head(); ?> 29 29 30 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'rss2_url'); ?>" title="<?php printf( esc_attr__( '%s latest posts', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />31 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'comments_rss2_url')?>" title="<?php printf( esc_attr__( '%s latest comments', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" />32 <link rel="pingback" href="<?php bloginfo( 'pingback_url'); ?>" />30 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php printf( esc_attr__( '%s latest posts', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" /> 31 <link rel="alternate" type="application/rss+xml" href="<?php bloginfo( 'comments_rss2_url' ); ?>" title="<?php printf( esc_attr__( '%s latest comments', 'twentyten' ), esc_html( get_bloginfo('name') ) ); ?>" /> 32 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 33 33 </head> 34 34 … … 40 40 41 41 <div id="branding"> 42 <div id="site-title"><span><a href="<?php bloginfo( 'url' ) ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' )?></a></span></div>43 <div id="site-description"><?php bloginfo( 'description' ) ?></div>42 <div id="site-title"><span><a href="<?php home_url(); ?>/" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></div> 43 <div id="site-description"><?php bloginfo( 'description' ); ?></div> 44 44 45 45 <?php … … 53 53 54 54 <div id="access"> 55 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ) ?>"><?php _e( 'Skip to content', 'twentyten' )?></a></div>55 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div> 56 56 <?php wp_page_menu( 'sort_column=menu_order' ); ?> 57 57 </div><!-- #access -->
Note: See TracChangeset
for help on using the changeset viewer.