Aha, wrong place. But now, see again here: https://github.com/holger1411/understrap/issues/466

This commit is contained in:
koenemann 2017-11-24 08:07:59 +01:00
parent 0e2077ff6d
commit 3baf902e94
1 changed files with 2 additions and 2 deletions

View File

@ -12,9 +12,9 @@ if ( ! function_exists( 'understrap_posted_on' ) ) :
* Prints HTML with meta information for the current post-date/time and author.
*/
function understrap_posted_on() {
$time_string = '<time class="entry-date published updated" datetime="%1$s"> (%2$s) </time>';
$time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s">%4$s</time>';
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time><time class="updated" datetime="%3$s"> (%4$s) </time>';
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),