%2$s'; $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. */ esc_html( '%s', 'post date', 'techup' ), '' . $time_string . '' ); echo '
  • ' . $posted_on . '
  • '; // WPCS: XSS OK. } endif; if ( ! function_exists( 'techup_posted_by' ) ) : /** * Prints HTML with meta information for the current author. */ function techup_posted_by() { $byline = sprintf( /* translators: %s: post author. */ esc_html( '%s', 'post author', 'techup' ), '
  • ' . esc_html( get_the_author() ) . '
  • ' ); echo $byline; // WPCS: XSS OK. } endif; if ( ! function_exists( 'techup_post_comments' ) ) : /** * Prints HTML with meta information for the current post-date/time and author. */ function techup_post_comments() { // Get the author name; wrap it in a link. // $post_comment = sprintf(. /** * * Translators: %s: post author */ ?>
  • '; comments_popup_link( sprintf( get_the_title() ) ); echo ''; } } endif; if ( ! function_exists( 'techup_post_thumbnail' ) ) : /** * Displays an optional post thumbnail. * * Wraps the post thumbnail in an anchor element on index views, or a div * element when on single views. */ function techup_post_thumbnail() { if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { return; } if ( is_singular() ) : ?>