-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.php
executable file
·20 lines (20 loc) · 963 Bytes
/
author.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php get_header(); ?>
<div id="content-wrapper" class="wrapper clearfix">
<div class="content-container container clearfix">
<div class="content clearfix">
<div class="col-md-8 col-sm-8 entry-content">
<?php the_post(); ?>
<h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'boiler' ), "<span class=\"vcard\"><a class='url fn n' href='$authordata->user_url' title='$authordata->display_name' rel='me'>$authordata->display_name</a></span>" ) ?></h1>
<?php $authordesc = $authordata->user_description; if ( !empty($authordesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $authordesc . '</div>' ); ?>
<?php rewind_posts(); ?>
<?php get_template_part( 'nav', 'above' ); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'entry' ); ?>
<?php endwhile; ?>
<?php get_template_part( 'nav', 'below' ); ?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
</div>
<?php get_footer(); ?>