Hello! Big fan of your aReview theme, but I do need some help. I accidentally deleted some code that has now caused my site to crash. The code I require is the code under the template-tags.php section. More specifically prior to the “(%2$s” code. It is noted below, thank you. -
-
Prints HTML with meta information for the current post-date/time and author.
*/
function areview_posted_on() {
$time_string = ‘<time class=“entry-date published” datetime="%1$s">%2$s</time>’;
if ( get_the_time( ‘U’ ) !== get_the_modified_time( ‘U’ ) ) {
$time_string .= ‘<time class=“updated” datetime="%3$s">%4$s</time>’;
}$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( __(%2$s</span>’, ‘areview’ ),
sprintf( ‘%2$s’,
esc_url( get_permalink() ),
$time_string
),
sprintf( ‘<span class=“author vcard”>%2$s</span>’,
esc_url( get_author_posts_url( get_the_author_meta( ‘ID’ ) ) ),
esc_html( get_the_author() )
)
);
}
endif;