diff --git a/inc/template-tags.php b/inc/template-tags.php
index fec7533..8b06a31 100644
--- a/inc/template-tags.php
+++ b/inc/template-tags.php
@@ -163,11 +163,21 @@ if ( ! function_exists( '_s_posted_on' ) ) :
* Prints HTML with meta information for the current post-date/time and author.
*/
function _s_posted_on() {
- printf( __( 'Posted on by %7$s', '_s' ),
- esc_url( get_permalink() ),
- esc_attr( get_the_time() ),
+ $time_string = '';
+ if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) )
+ $time_string .= '';
+
+ $time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
+ esc_attr( get_the_modified_date( 'c' ) ),
+ esc_html( get_the_modified_date() )
+ );
+
+ printf( __( 'Posted on %3$s by %6$s', '_s' ),
+ esc_url( get_permalink() ),
+ esc_attr( get_the_time() ),
+ $time_string,
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', '_s' ), get_the_author() ) ),
get_the_author()
diff --git a/style.css b/style.css
index 3236272..682841a 100644
--- a/style.css
+++ b/style.css
@@ -461,7 +461,8 @@ a:active {
.hentry {
margin: 0 0 1.5em;
}
-.byline {
+.byline,
+.updated {
display: none;
}
.single .byline,