diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 52f51b4348..c8ed8628c8 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -336,11 +336,11 @@ function twentytwelve_entry_meta() { // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. if ( $tag_list ) { - $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s by %4$s.', 'twentytwelve' ); + $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s by %4$s.', 'twentytwelve' ); } elseif ( $categories_list ) { - $utility_text = __( 'This entry was posted in %1$s on %3$s by %4$s.', 'twentytwelve' ); + $utility_text = __( 'This entry was posted in %1$s on %3$s by %4$s.', 'twentytwelve' ); } else { - $utility_text = __( 'This entry was posted on %3$s by %4$s.', 'twentytwelve' ); + $utility_text = __( 'This entry was posted on %3$s by %4$s.', 'twentytwelve' ); } printf( @@ -386,6 +386,9 @@ function twentytwelve_body_class( $classes ) { if ( wp_style_is( 'twentytwelve-fonts', 'queue' ) ) $classes[] = 'custom-font-enabled'; + if ( ! is_multi_author() ) + $classes[] = 'single-author'; + return $classes; } add_filter( 'body_class', 'twentytwelve_body_class' ); diff --git a/wp-content/themes/twentytwelve/style.css b/wp-content/themes/twentytwelve/style.css index ae4323b47e..c19a97ac0c 100644 --- a/wp-content/themes/twentytwelve/style.css +++ b/wp-content/themes/twentytwelve/style.css @@ -881,6 +881,9 @@ footer.entry-meta { line-height: 1.846153846; color: #777; } +.single-author .entry-meta .by-author { + display: none; +} /* =Archives