Update single-functions.php

This commit is contained in:
Aron Ambrosiani 2020-10-15 20:48:06 +02:00
parent 7b0071766f
commit d7309b1fbe
1 changed files with 17 additions and 14 deletions

View File

@ -96,6 +96,7 @@ endif;
/**
* Display date of post.
*/
if ( function_exists('tainacan_meta_date_author') ) {
function tainacan_meta_date_author( $echo = true ) {
$time = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
@ -116,6 +117,8 @@ function tainacan_meta_date_author( $echo = true ) {
return $string;
}
}
}
endif;
// define the cancel_comment_reply_link callback
function tainacan_filter_cancel_comment_reply_link( $formatted_link, $link, $text ) {