%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( 'd M Y' ) ), esc_attr( get_the_modified_date( DATE_W3C ) ), esc_html( get_the_modified_date( 'd M Y' ) ) ); echo '' . wp_kses_post( $time_string ) . ''; } endif; if ( ! function_exists( 'blogz_posted_by' ) ) : /** * Prints HTML with meta information for the current author. * * @param string $prefix Prefix before author name. */ function blogz_posted_by( $prefix = '' ) { if ( 'text' === $prefix ) { $prefix = esc_html__( 'By ', 'blogz' ); } elseif ( 'icon' === $prefix ) { $prefix = ''; } $byline = ''; echo ''; } endif; if ( ! function_exists( 'blogz_entry_footer' ) ) : /** * Prints HTML with meta information for the categories, tags and comments. */ function blogz_entry_footer() { // 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(); if ( $tags_list ) { /* translators: 1: list of tags. */ printf( '', wp_kses_post( $tags_list ) ); } } if ( function_exists( 'sharing_display' ) ) { sharing_display( '', true ); } blogz_edit_link(); } endif; /** * Edit Link. */ function blogz_edit_link() { edit_post_link( sprintf( wp_kses( /* translators: %s: Name of current post. Only visible to screen readers */ __( 'Edit %s', 'blogz' ), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ), '', '' ); } if ( ! function_exists( 'blogz_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. * * @param string $size thumbnail size. */ function blogz_post_thumbnail( $size = 'post-thumbnail' ) { if ( is_attachment() ) { return; } if ( is_singular() && ! is_front_page() ) : ?>