Browse Source

fix title

windhamdavid 9 years ago
parent
commit
055a209b08
1 changed files with 2 additions and 2 deletions
  1. 2 2
      inc/template.php

+ 2 - 2
inc/template.php

@@ -49,10 +49,10 @@ function filter_wp_title( $title, $sep ) {
  
     $site_description = get_bloginfo( 'description', 'display' );
     if ( $site_description && ( is_home() || is_front_page() ) )
-        $title = "$title $sep $site_description";
+        $title = "$title";
 
     if ( $paged >= 2 || $page >= 2 )
-        $title = "$title $sep " . sprintf( __( 'Page %s', 'twentytwelve' ), max( $paged, $page ) );
+        $title = "$title $sep " . sprintf( __( 'Page %s', 'dw' ), max( $paged, $page ) );
  
     return $title;
 }