Changes from branches/3.0/wp-content/themes/twentyten/header.php at r15391 to trunk/wp-content/themes/twentyten/header.php at r15195
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/header.php
r15391 r15195 16 16 /* 17 17 * Print the <title> tag based on what is being viewed. 18 * We filter the output of wp_title() a bit -- see 19 * twentyten_filter_wp_title() in functions.php. 18 20 */ 19 global $page, $paged;20 21 21 wp_title( '|', true, 'right' ); 22 23 // Add the blog name.24 bloginfo( 'name' );25 26 // Add the blog description for the home/front page.27 $site_description = get_bloginfo( 'description', 'display' );28 if ( $site_description && ( is_home() || is_front_page() ) )29 echo " | $site_description";30 31 // Add a page number if necessary:32 if ( $paged >= 2 || $page >= 2 )33 echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );34 22 35 23 ?></title>
Note: See TracChangeset
for help on using the changeset viewer.