-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauthor.php
24 lines (24 loc) · 865 Bytes
/
author.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php get_header(); ?>
<div id="main">
<div id="content" class="c8">
<?php if(have_posts()) : ?>
<?php the_post(); ?>
<header class="page-header">
<h1>
Archives for the author '<?php the_author(); ?>':
</h1>
</header>
<?php rewind_posts(); ?>
<?php while(have_posts()) : ?>
<?php the_post(); ?>
<?php get_template_part('article'); ?>
<?php endwhile; ?>
<?php get_template_part('page-navigation'); ?>
<?php else:
get_template_part('article-notfound'); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<div class="clear"></div>
</div>
<?php get_footer(); ?>