Changeset 21761
- Timestamp:
- 09/05/2012 04:33:55 AM (12 years ago)
- Location:
- trunk/wp-content/themes/twentytwelve
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/functions.php
r21726 r21761 337 337 // Translators: 1 is category, 2 is tag, 3 is the date and 4 is the author's name. 338 338 if ( $tag_list ) { 339 $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s by %4$s.', 'twentytwelve' );339 $utility_text = __( 'This entry was posted in %1$s and tagged %2$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 340 340 } elseif ( $categories_list ) { 341 $utility_text = __( 'This entry was posted in %1$s on %3$s by %4$s.', 'twentytwelve' );341 $utility_text = __( 'This entry was posted in %1$s on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 342 342 } else { 343 $utility_text = __( 'This entry was posted on %3$s by %4$s.', 'twentytwelve' );343 $utility_text = __( 'This entry was posted on %3$s<span class="by-author"> by %4$s</span>.', 'twentytwelve' ); 344 344 } 345 345 … … 387 387 $classes[] = 'custom-font-enabled'; 388 388 389 if ( ! is_multi_author() ) 390 $classes[] = 'single-author'; 391 389 392 return $classes; 390 393 } -
trunk/wp-content/themes/twentytwelve/style.css
r21729 r21761 882 882 color: #777; 883 883 } 884 .single-author .entry-meta .by-author { 885 display: none; 886 } 884 887 885 888
Note: See TracChangeset
for help on using the changeset viewer.