%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() ) ); $posted_on = '' . $time_string . ''; $byline = sprintf( '' . esc_html_x( '%s', 'post author', 'lite-ecommerce' ), '' . esc_html( get_the_author() ) . '' ); echo '' . $posted_on . ' ' . $byline . ''; // WPCS: XSS OK. $categories_list = get_the_category_list( esc_html__( ', ', 'lite-ecommerce' ) ); if ( $categories_list ) { echo '' . $categories_list . ''; } } endif; if ( ! function_exists( 'lite-ecommerce_entry_footer' ) ) : /** * Prints HTML with meta information for the categories, tags and comments. */ function lite-ecommerce_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(); if ( $tags_list ) { echo '' . $tags_list . ''; } } edit_post_link( sprintf( /* translators: %s: Name of current post */ esc_html__( 'Edit %s', 'lite-ecommerce' ), the_title( '"', '"', false ) ), '', '' ); } endif;