%1$s', get_the_date( get_option( 'date_format' ) ) );
$author = sprintf( '%2$s', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), 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' === $args ) {
if ( is_404() ) {
printf( '
%s
', esc_html__( 'Whoa! You broke something!', 'backdrop-core' ) );
} elseif ( is_single() || is_page() ) {
the_title( '', '
' );
} elseif ( is_front_page() && is_home() ) {
the_title( sprintf( '' );
} elseif ( is_post_type_archive() ) {
printf( '%s
', post_type_archive_title( '', false ) );
} else {
the_title( sprintf( '' );
}
} elseif ( 'taxonomies' === $args ) {
$cat_list = get_the_category_list( esc_html__( ' | ', 'backdrop-core' ) );
$tag_list = get_the_tag_list( '', esc_html__( ' | ', 'backdrop-core' ) );
if ( $cat_list ) {
printf(
' %1$s %2$s
',
esc_html__( ' Posted In', 'backdrop-core' ),
$cat_list // phpcs:ignore
);
}
if ( $tag_list ) {
printf(
' %1$s %2$s
',
esc_html__( ' Tagged', 'backdrop-core' ),
$tag_list // phpcs:ignore
);
}
}
}
}