%1$s %2$s';
if(is_single()){
$time_string = '';
}
$time_string = sprintf(
$time_string,
esc_html( get_the_time('d') ),
esc_html( get_the_time('M') ),
esc_html( get_the_time('Y') )
);
$posted_on = sprintf(
/* translators: %s: post date. */
'%s',
'' . $time_string . ''
);
echo '' . $posted_on . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
endif;
if ( ! function_exists( 'bizindustries_posted_by' ) ) :
/**
* Prints HTML with meta information for the current author.
*/
function bizindustries_posted_by() {
$byline = sprintf(
/* translators: %s: post author. */
esc_html_x( 'by %s', 'post author', 'bizindustries' ),
'' . esc_html( get_the_author() ) . ''
);
echo ' ' . $byline . ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
endif;
if ( ! function_exists( 'bizindustries_posted_in' ) ) :
/**
* Prints HTML with meta information for the categories
*/
function bizindustries_posted_in() {
// Hide category and tag text for pages.
if ( 'post' === get_post_type() ) {
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( esc_html__( ', ', 'bizindustries' ) );
if ( $categories_list ) {
/* translators: 1: list of categories. */
printf( ' ' . '%1$s' . '', $categories_list ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
}
endif;
if ( ! function_exists( 'bizindustries_post_comments' ) ) :
/**
* Prints HTML with meta information for the Comments
*/
function bizindustries_post_comments() {
if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>