%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() ) ); $posted_on = sprintf( /* translators: %s: post date. */ $posted_on_str.esc_html( '%s' ), '' . $time_string . '' ); echo '' . $posted_on . '';// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } endif; if ( ! function_exists( 'ananya_posted_by' ) ) : /** * Prints HTML with meta information for the current author. * @since 1.0 */ function ananya_posted_by() { $by_str = __( 'By ', 'ananya' ); if( is_single() ) { $by_str = __( 'Posted By ', 'ananya' ); } $byline = sprintf( /* translators: %s: post author. */ $by_str.esc_html( '%s' ), '' ); echo ''; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } endif; if ( ! function_exists( 'ananya_excerpt_entry_footer' ) ) : /** * Prints HTML with meta information for the categories, tags and comments. * @since 1.0 */ function ananya_excerpt_entry_footer() { ?>