%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(
// Translators: 1 = get the author.
sprintf( __( 'View all posts by %s', 'camaraderie' ), get_the_author() )
),
get_the_author()
);
printf(
'%1$s%2$s',
$author, //phpcs:ignore
$date //phpcs:ignore
);
if ( ! is_page() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '';
}
} elseif ( 'entry-title' === $feature ) {
if ( is_404() ) { ?>
', '' );
} elseif ( is_front_page() && is_home() ) {
the_title( sprintf( '' );
} else {
the_title( sprintf( '' );
}
} elseif ( 'entry-taxonomies' === $feature ) {
$cat_list = get_the_category_list( esc_html__( ' | ', 'camaraderie' ) );
$tag_list = get_the_tag_list( '', esc_html__( ' | ', 'camaraderie' ) );
if ( $cat_list ) {
printf(
' %1$s %2$s
',
esc_html__( ' Posted In', 'camaraderie' ),
$cat_list // phpcs:ignore
);
}
if ( $tag_list ) {
printf(
' %1$s %2$s
',
esc_html__( ' Tagged', 'camaraderie' ),
$tag_list // phpcs:ignore
);
}
}
}