diff --git a/inc/template-tags.php b/inc/template-tags.php index 951449bf..0ff39e25 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -78,16 +78,18 @@ function _s_posted_on() { esc_html( get_the_modified_date() ) ); - printf( __( 'Posted on %1$s by %2$s', '_s' ), - sprintf( '%2$s', - esc_url( get_permalink() ), - $time_string - ), - sprintf( '%2$s', - esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), - esc_html( get_the_author() ) - ) + $posted_on = sprintf( + _x( 'Posted on %s', 'post date', '_s' ), + '' . $time_string . '' ); + + $byline = sprintf( + _x( 'by %s', 'post author', '_s' ), + '' . esc_html( get_the_author() ) . '' + ); + + echo '' . $posted_on . ' ' . $byline . ''; + } endif;