3
* The template for displaying Author archive pages
5
* @link http://codex.wordpress.org/Template_Hierarchy
8
* @subpackage Twenty_Thirteen
9
* @since Twenty Thirteen 1.0
14
<div id="primary" class="content-area">
15
<div id="content" class="site-content" role="main">
17
<?php if ( have_posts() ) : ?>
21
* Queue the first post, that way we know what author
22
* we're dealing with (if that is the case).
24
* We reset this later so we can run the loop
25
* properly with a call to rewind_posts().
30
<header class="archive-header">
31
<h1 class="archive-title"><?php printf( __( 'All posts by %s', 'twentythirteen' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
32
</header><!-- .archive-header -->
36
* Since we called the_post() above, we need to
37
* rewind the loop back to the beginning that way
38
* we can run the loop properly, in full.
43
<?php if ( get_the_author_meta( 'description' ) ) : ?>
44
<?php get_template_part( 'author-bio' ); ?>
47
<?php /* The loop */ ?>
48
<?php while ( have_posts() ) : the_post(); ?>
49
<?php get_template_part( 'content', get_post_format() ); ?>
52
<?php twentythirteen_paging_nav(); ?>
55
<?php get_template_part( 'content', 'none' ); ?>
58
</div><!-- #content -->
59
</div><!-- #primary -->
61
<?php get_sidebar(); ?>
62
<?php get_footer(); ?>
b'\\ No newline at end of file'