%3$s',
esc_url(get_permalink()),
esc_attr(get_the_time()),
get_the_date(get_option('date_format'))
);
$author = sprintf(
'%3$s',
esc_url(get_author_posts_url(get_the_author_meta('ID'))),
esc_attr(sprintf(__('View all posts by %s', 'camaraderie'), get_the_author())),
get_the_author()
);
printf(
'%1$s',
get_avatar(get_the_author_meta('user_email'), $avatar_size)
);
printf(
'%1$s%2$s',
$author,
$date
);
}
/*
============================================================================================================================
2.0 - Entry Time Stamp
============================================================================================================================
*/
function camaraderie_entry_time_stamp() {
$time_string = '';
if (get_the_time('U') !== get_the_modified_time('U')) {
$time_string = '';
}
$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())
);
return sprintf(
__('Posted on %s', 'camaraderie'),
'' . $time_string . ''
);
}
/*
============================================================================================================================
3.0 - Entry Taxonomies
============================================================================================================================
*/
function camaraderie_entry_taxonomies() {
$cat_list = get_the_category_list(__(' | ', 'camaraderie'));
$tag_list = get_the_tag_list('', __(' | ', 'camaraderie'));
if ($cat_list) {
printf(' %1$s %2$s
',
__(' Posted In', 'camaraderie'),
$cat_list
);
}
if ($tag_list) {
printf(' %1$s %2$s
',
__(' Tagged', 'camaraderie'),
$tag_list
);
}
}