diff --git a/inc/template-tags.php b/inc/template-tags.php index 4190771..d28fdfc 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -66,9 +66,9 @@ if ( ! function_exists( '_s_posted_on' ) ) : * Prints HTML with meta information for the current post-date/time and author. */ function _s_posted_on() { - $time_string = ''; + $time_string = ''; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { - $time_string .= ''; + $time_string = ''; } $time_string = sprintf( $time_string, diff --git a/style.css b/style.css index 01b14b6..ca9fd74 100644 --- a/style.css +++ b/style.css @@ -649,7 +649,7 @@ a:active { } .byline, -.updated { +.updated:not(.published) { display: none; }