diff --git a/inc/template-tags.php b/inc/template-tags.php index 0ff39e25..74d43599 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -66,9 +66,11 @@ 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 = ''; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { + $time_string = ''; $time_string .= ''; + } else { + $time_string = ''; } $time_string = sprintf( $time_string, diff --git a/style.css b/style.css index a61fe8d6..2b7ed521 100644 --- a/style.css +++ b/style.css @@ -555,7 +555,7 @@ a:active { margin: 0 0 1.5em; } .byline, -.updated { +.updated:not(.published) { display: none; } .single .byline,