Ticket #13751: aioseop.diff
| File aioseop.diff, 1.0 KB (added by nacin, 3 years ago) |
|---|
-
wp-content/themes/twentyten/header.php
15 15 <title><?php 16 16 /* 17 17 * Print the <title> tag based on what is being viewed. 18 * We filter the output of wp_title() a bit -- see19 * twentyten_filter_wp_title() in functions.php.20 18 */ 21 19 wp_title( '|', true, 'right' ); 22 20 21 // Add the blog name. 22 bloginfo( 'name' ); 23 24 // Add the blog description for the home/front page. 25 $site_description = get_bloginfo( 'description', 'display' ); 26 if ( $site_description && ( is_home() || is_front_page() ) ) 27 echo " | $site_description"; 28 29 // Add a page number if necessary: 30 if ( $paged >= 2 || $page >= 2 ) 31 $title .= ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) ); 32 23 33 ?></title> 24 34 <link rel="profile" href="http://gmpg.org/xfn/11" /> 25 35 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
