Twenty Twelve: remove the word "Blog" from archive title, see #21951. Also remove from two comments in functions.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@21976 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9cadeb70ca
commit
266f8fda03
@ -31,7 +31,7 @@ get_header(); ?>
|
|||||||
} elseif ( is_category() ) {
|
} elseif ( is_category() ) {
|
||||||
printf( __( 'Category Archives: %s', 'twentytwelve' ), '<span>' . single_cat_title( '', false ) . '</span>' );
|
printf( __( 'Category Archives: %s', 'twentytwelve' ), '<span>' . single_cat_title( '', false ) . '</span>' );
|
||||||
} else {
|
} else {
|
||||||
_e( 'Blog Archives', 'twentytwelve' );
|
_e( ' Archives', 'twentytwelve' );
|
||||||
}
|
}
|
||||||
?></h1>
|
?></h1>
|
||||||
|
|
||||||
|
@ -151,10 +151,10 @@ function twentytwelve_wp_title( $title, $sep ) {
|
|||||||
if ( is_feed() )
|
if ( is_feed() )
|
||||||
return $title;
|
return $title;
|
||||||
|
|
||||||
// Add the blog name.
|
// Add the site name.
|
||||||
$title .= get_bloginfo( 'name' );
|
$title .= get_bloginfo( 'name' );
|
||||||
|
|
||||||
// Add the blog description for the home/front page.
|
// Add the site description for the home/front page.
|
||||||
$site_description = get_bloginfo( 'description', 'display' );
|
$site_description = get_bloginfo( 'description', 'display' );
|
||||||
if ( $site_description && ( is_home() || is_front_page() ) )
|
if ( $site_description && ( is_home() || is_front_page() ) )
|
||||||
$title = "$title $sep $site_description";
|
$title = "$title $sep $site_description";
|
||||||
|
Loading…
Reference in New Issue
Block a user