View all ' . $format . ' posts ';
}
// Author
if( is_multi_author() ){
printf( __( '%1$s ', 'figureground' ),
sprintf( '%3$s%4$s ',
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_attr( sprintf( __( 'View all posts by %s', 'figureground' ), get_the_author() ) ),
get_avatar( get_the_author_meta( 'ID' ), 64 ),
esc_html( get_the_author() )
)
);
}
// Date/time
$time_string = '%2$s ';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string .= '%4$s ';
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date( 'm d y' ) ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date() )
);
printf( __( '%1$s ', 'figureground' ),
sprintf( '%3$s ',
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
$time_string
)
);
// Categories
if ( 'post' === get_post_type() && figureground_categorized_blog() ) {
/* translators: used between list items, there is a space after the comma */
$category_list = get_the_category_list( __( ', ', 'figureground' ) );
echo '' . $category_list . '
';
}
// Tags
if ( 'post' === get_post_type() && has_tag() ) {
/* translators: used between list items, there is a space after the comma */
$tag_list = get_the_tag_list( '', __( ', ', 'figureground' ) );
echo '' . $tag_list . '
';
}
// Comments
if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) {
$class = 'comments-link';
if ( 0 != get_comments_number() ) {
$class .= ' has-comments';
}
echo '';
comments_popup_link( '', '1', '%' );
echo ' ';
}
// Edit Link
edit_post_link( __( 'Edit', 'figureground' ), '', ' ' );
?>
post_parent ) : get_adjacent_post( false, '', true );
$next = get_adjacent_post( false, '', false );
if ( ! $next && ! $previous )
return;
}
// Don't print empty markup in archives if there's only one page.
if ( $wp_query->max_num_pages < 2 && ( is_home() || is_archive() || is_search() ) )
return;
$nav_class = ( is_single() ) ? 'post-navigation' : 'paging-navigation';
?>
%link', '' . _x( '←', 'Previous post link', 'figureground' ) . ' %title' ); ?>
%link', '%title ' . _x( '→', 'Next post link', 'figureground' ) . ' ' ); ?>
max_num_pages > 1 && ( is_home() || is_archive() || is_search() ) ) : // navigation links for home, archive, and search pages ?>
← Older posts', 'figureground' ) ); ?>
→', 'figureground' ) ); ?>
comment_type || 'trackback' == $comment->comment_type ) : ?>