%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() ) ); echo get_avatar( get_the_author_meta( 'ID' ), 30 ); $posted_on = sprintf( _x( 'on %s', 'post date', 'aaron' ), $time_string); $byline = '' . esc_html( get_the_author() ) . ''; echo '' . $byline . ' ' . $posted_on . ''; } } endif; if ( ! function_exists( 'aaron_entry_footer' ) ) : /** * Prints HTML with meta information for the categories, tags and comments. */ function aaron_entry_footer() { if( get_theme_mod('aaron_hide_meta')==""){ echo ''; } } endif; if ( ! function_exists( 'aaron_portfolio_footer' ) ) : /** * Prints HTML with meta information for the categories, tags and comments. */ function aaron_portfolio_footer() { if( get_theme_mod('aaron_hide_meta')=="" ){ echo ''; } } endif; /* Excerpts */ add_filter( 'excerpt_more', 'aaron_excerpt_more',100 ); function aaron_excerpt_more( $more ) { global $id; return '… '. aaron_continue_reading( $id ); } add_filter( 'get_the_excerpt', 'aaron_custom_excerpt_more',100 ); function aaron_custom_excerpt_more( $output ) { if ( has_excerpt() && !is_attachment() ) { global $id; $output .= ' '. aaron_continue_reading( $id ); // insert a blank space. } return $output; } function aaron_continue_reading( $id ) { return '' . sprintf( __( 'Continue Reading %s', 'aaron' ), get_the_title( $id ) ) . ''; } if ( ! function_exists( 'aaron_breadcrumbs' ) ) : function aaron_breadcrumbs(){ if ( get_theme_mod( 'aaron_breadcrumb' ) <> '') { ?>