%2$s';
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() )
);
echo '' . $time_string . ''; // WPCS: XSS OK.
}
endif;
if ( ! function_exists( 'burger_factory_entry_footer' ) ) :
/**
* Prints HTML with meta information for the categories, tags and comments.
*/
function burger_factory_entry_footer() {
// Hide category and tag text for pages.
if ( 'post' === get_post_type() ) {
/* translators: used between list items, there is a space after the comma */
$tags_list = get_the_tag_list( '', esc_html__( ', ', 'burger-factory' ) );
if ( $tags_list ) {
printf( '' . esc_html__( 'Tags: %1$s', 'burger-factory' ) . '', $tags_list ); // WPCS: XSS OK.
}
}
if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
echo '';
/* translators: %s: post title */
comments_popup_link( sprintf( wp_kses( __( 'Leave a Comment on %s', 'burger-factory' ), array( 'span' => array( 'class' => array() ) ) ), get_the_title() ) );
echo '';
}
}
endif;
if ( ! function_exists( 'burger_factory_entry_category' ) ) :
/**
* Prints HTML with meta information for the categories.
*/
function burger_factory_entry_category() {
// 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__( ', ', 'burger-factory' ) );
if ( $categories_list ) {
printf( '' . esc_html__( '%1$s', 'burger-factory' ) . '', $categories_list ); // WPCS: XSS OK.
}
}
}
endif;