%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 = sprintf( esc_html_x( '%s', 'post date', 'apostrophe-2' ), '' . $time_string . '' ); $byline = sprintf( esc_html_x( '%s', 'post author', 'apostrope-2' ), '' . esc_html( get_the_author() ) . '' ); if ( is_sticky() && ! is_single() && ! is_archive() && ! is_paged() ) { echo '' . esc_html__( 'Featured', 'apostrophe-2' ) . ' ' . $byline . ''; // WPCS: XSS OK. } else { echo '' . $posted_on . ' ' . $byline . ''; // WPCS: XSS OK. } } endif; if ( ! function_exists( 'apostrophe_2_entry_footer' ) ) : /** * Prints HTML with meta information for the categories, tags and comments. * Also prints a card with the author's bio. */ function apostrophe_2_entry_footer() { $apostrophe_2_tags = null; // Show categories, tags, and author if we're on a post page if ( 'post' === get_post_type() ) { $categories_list = get_the_category_list(); if ( $categories_list ) { $apostrophe_2_tags = $categories_list; } $tags_list = get_the_tag_list( '' ); if ( $tags_list && ! is_wp_error( $tags_list ) ) { $apostrophe_2_tags .= $tags_list; } if ( $apostrophe_2_tags ) { echo '
' . wp_kses_post( $apostrophe_2_tags ) . '
'; } } if ( function_exists( 'jetpack_author_bio' ) ) jetpack_author_bio(); } endif;