%2$s', esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ), esc_html( get_the_author() ) ), jgtbloginn_entry_date() ); } elseif ( 'attachment' === get_post_type() ) { printf( esc_html__( 'On %s', 'bloginn' ), jgtbloginn_entry_date() ); } if ( comments_open() || get_comments_number() ) { echo ''; comments_popup_link( esc_html__( 'Leave a Reply', 'bloginn' ), esc_html__( '1 Reply', 'bloginn' ), esc_html__( '% Replies', 'bloginn' ) ); echo ''; } } endif; if ( ! function_exists( 'jgtbloginn_posted_in' ) ) : /** * Print HTML with meta information for the current post category and tag. */ function jgtbloginn_posted_in() { if ( 'post' === get_post_type() ) { echo ''; } elseif ( 'attachment' === get_post_type() ) { previous_post_link( '', '%title' ); } } endif; if ( ! function_exists( 'jgtbloginn_entry_date' ) ) : /** * Prints HTML with date information for the current post. */ function jgtbloginn_entry_date() { $time_string = ''; if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) { $time_string = ''; } $time_string = sprintf( $time_string, esc_attr( get_the_date( DATE_W3C ) ), get_the_date(), esc_attr( get_the_modified_date( DATE_W3C ) ), get_the_modified_date() ); return $time_string; } endif; if ( ! function_exists( 'jgtbloginn_post_thumbnail' ) ) : /** * Display an optional post thumbnail. */ function jgtbloginn_post_thumbnail() { if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) return; if ( is_singular() ) : ?>