%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', 'auspicious' ), get_the_author() )
),
get_the_author()
);
printf(
'%1$s %2$s %3$s %4$s',
esc_html__( 'Written by ', 'auspicious' ),
$author, //phpcs:ignore
esc_html__( 'on', 'auspicious' ),
$date //phpcs:ignore
);
} 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__( ' | ', 'auspicious' ) );
$tag_list = get_the_tag_list( '', esc_html__( ' | ', 'auspicious' ) );
if ( $cat_list ) {
printf(
' %1$s %2$s
',
esc_html__( ' Posted In', 'auspicious' ),
$cat_list
); // WPCS XSS OK.
}
if ( $tag_list ) {
printf(
' %1$s %2$s
',
esc_html__( ' Tagged', 'auspicious' ),
$tag_list
); // WPCS XSS OK.
}
}
}