the_title_attribute( 'echo=0' ) ) ); ?>
%1$s %3$s',
_x( 'Author', 'Used before post author name.', 'blogfeedly' ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
get_the_author()
);
$categories_list = get_the_category_list( ', ' );
if ( $categories_list ) {
printf( '%1$s %2$s',
_x( 'Posted in', 'Used before category links', 'blogfeedly' ),
$categories_list
);
}
} elseif ( 'attachment' == get_post_type() ) {
stsblogfeedly_entry_date();
if ( wp_attachment_is_image() ) {
$metadata = wp_get_attachment_metadata();
printf( '%1$s %3$s × %4$s',
_x( 'Full size', 'Used before full size attachment link.', 'blogfeedly' ),
esc_url( wp_get_attachment_url() ),
absint( $metadata['width'] ),
absint( $metadata['height'] )
);
}
}
if ( comments_open() || get_comments_number() ) {
echo '';
}
}
endif;
if ( ! function_exists( 'stsblogfeedly_entry_date' ) ) :
/**
* Prints HTML with date information for the current post.
*/
function stsblogfeedly_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( 'c' ) ),
get_the_date(),
esc_attr( get_the_modified_date( 'c' ) ),
get_the_modified_date()
);
printf( '%1$s %3$s',
esc_html_x( 'Posted on', 'Used before publish date.', 'blogfeedly' ),
esc_url( get_permalink() ),
$time_string
);
}
endif;
if ( ! function_exists( 'stsblogfeedly_entry_footer' ) ) :
/**
* Prints HTML with meta information for the tags or parent post link.
*/
function stsblogfeedly_entry_footer() {
if ( 'post' == get_post_type() ) {
$tags_list = get_the_tag_list( __( 'Tagged: ', 'blogfeedly' ) );
if ( $tags_list ) {
echo '' . $tags_list . '
';
}
} elseif ( 'attachment' == get_post_type() ) {
previous_post_link( '' . __( 'Published in:', 'blogfeedly' ) . ' %link
', '%title' );
}
}
endif;
if ( ! function_exists( 'stsblogfeedly_loop_navigation' ) ) :
/**
* Display navigation to next/previous set of posts when applicable.
*/
function stsblogfeedly_loop_navigation() {
the_posts_pagination( array(
'prev_text' => __( '← Previous', 'blogfeedly' ),
'next_text' => __( 'Next →', 'blogfeedly' ),
'before_page_number' => '' . __( 'Page', 'blogfeedly' ) . ' '
) );
}
endif;