diff --git a/inc/template-tags.php b/inc/template-tags.php index 598cba6..4dda9f2 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -121,24 +121,17 @@ if ( ! function_exists( '_s_posted_on' ) ) : * @since _s 1.0 */ function _s_posted_on() { - $time_string = ( get_the_time( 'U' ) == get_the_modified_time( 'U' ) ) - ? '' - : ''; - - printf( __( 'Posted on ' . $time_string . ' by ', '_s' ), + printf( __( 'Posted on by ', '_s' ), esc_url( get_permalink() ), esc_attr( get_the_time() ), esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ), 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(), - esc_attr( get_the_modified_date( 'c' ) ), - esc_html( get_the_modified_date() ) + get_the_author() ); } endif; - /** * Returns true if a blog has more than 1 category * diff --git a/style.css b/style.css index f71fd3c..0291319 100644 --- a/style.css +++ b/style.css @@ -433,8 +433,7 @@ a:active { .entry-meta { clear: both; } -.byline, -time.updated { +.byline { display: none; } .single .byline,