%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( 'santamas_entry_footer' ) ) : /** * Prints HTML with meta information for the categories, tags and comments. */ function santamas_entry_footer() { // Hide category and tag text for pages. if ( 'post' === get_post_type() ) { $categories_list = get_the_category_list( esc_html__( ', ', 'santamas' ) ); if ( $categories_list ) { echo '' . $categories_list . ''; } $tags_list = get_the_tag_list( '', esc_html_x( ', ', 'list item separator', 'santamas' ) ); if ( $tags_list ) { echo '' . $tags_list . ''; } } } endif;