'. esc_html__('Published: ','beautytemple').'%2$s'; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = ''; } $time_string = sprintf( $time_string, esc_attr( get_the_date( DATE_W3C ) ), esc_html( get_the_date() ), esc_attr( get_the_modified_date( DATE_W3C ) ), esc_html( get_the_modified_date() ) ); echo $time_string; // WPCS: XSS OK. } } if ( ! function_exists( 'beautytemple_entry_category' ) ){ /** * Prints HTML with meta information for the categories. */ function beautytemple_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__( ' / ', 'beautytemple' ) ); if ( $categories_list ) { echo ''; } } } } if ( ! function_exists( 'beautytemple_entry_tags' ) ){ /** * Prints HTML with meta information for the categories. */ function beautytemple_entry_tags() { // 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_x( ' / ', 'list item separator', 'beautytemple' ) ); if ( $tags_list ) { echo ''; } } } } if ( ! function_exists( 'beautytemple_post_thumbnail' ) ){ /** * Prints HTML with meta information for the categories. */ function beautytemple_post_thumbnail() { $output = null; if(has_post_thumbnail()){ $output = '