';
if ( ! is_front_page() && ! is_home() ) {
aaron_breadcrumbs();
}
if ( ! get_theme_mod( 'aaron_hide_author' ) ) {
$time_string = '';
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 . '';
}
echo '';
}
}
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 '';
}
}
}
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 '';
}
}
}
/**
* Adds the "continue reading" text string for excerpts that uses the more quicktag.
*
* @param string $more Continue reading.
*/
function aaron_excerpt_more( $more ) {
if ( is_admin() ) {
return $more;
}
global $id;
return '… ' . aaron_continue_reading( $id );
}
add_filter( 'excerpt_more', 'aaron_excerpt_more', 100 );
/**
* Adds the "continue reading" text string for excerpts.
*
* @param string $output Continue reading.
*/
function aaron_custom_excerpt_more( $output ) {
if ( has_excerpt() && ! is_attachment() && ! is_admin() ) {
global $id;
$output .= ' ' . aaron_continue_reading( $id );
}
return $output;
}
add_filter( 'get_the_excerpt', 'aaron_custom_excerpt_more', 100 );
/**
* The "continue reading" text string and post link.
*
* @param int $id post id.
*/
function aaron_continue_reading( $id ) {
/* translators: %s: post title */
return '' . sprintf( esc_html__( 'Continue Reading %s', 'aaron' ), get_the_title( $id ) ) . '';
}
if ( ! function_exists( 'aaron_breadcrumbs' ) ) {
/**
* Adds a simplified bredcrumb with links to the home page and category page.
*/
function aaron_breadcrumbs() {
if ( get_theme_mod( 'aaron_breadcrumb' ) ) {
?>