' . wp_kses_post(get_the_date()) . ''; // WPCS: XSS OK.
}
endif;
if ( ! function_exists( 'alexradar_posted_by' ) ) :
/**
* Prints HTML with meta information for the current author.
*/
function alexradar_posted_by() {?>
Tags: ', ',', '' ));
}else{
echo '
';
echo '
'.get_avatar( get_the_author_meta( 'ID' ), 55 ).'
';
echo '
';
alexradar_posted_by();
echo'
';
alexradar_posted_on();
echo '
';
}
}
echo '';
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '';
}
edit_post_link(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit %s', 'alexradar' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
),
'',
''
);
echo '
';
}
endif;
if ( ! function_exists( 'alexradar_post_thumbnail' ) ) :
/**
* Displays an optional post thumbnail.
*
* Wraps the post thumbnail in an anchor element on index views, or a div
* element when on single views.
*/
function alexradar_post_thumbnail() {
if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) {
return;
}
if ( is_singular() ) :
?>
the_title_attribute( array(
'echo' => false,
) ),
) );
?>