2010-02-07 17:16:26 +01:00
|
|
|
<?php get_header(); ?>
|
2010-02-08 19:02:23 +01:00
|
|
|
|
|
|
|
<div id="container">
|
2010-02-07 17:16:26 +01:00
|
|
|
<div id="content">
|
2010-02-08 19:02:23 +01:00
|
|
|
|
|
|
|
<?php the_post(); ?>
|
|
|
|
|
2010-02-14 08:13:34 +01:00
|
|
|
<h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='$authordata->user_url' title='" . esc_attr(get_the_author()) . "' rel='me'>" . get_the_author() . "</a>" ); ?></h1>
|
2010-02-07 17:16:26 +01:00
|
|
|
|
2010-02-08 19:02:23 +01:00
|
|
|
<?php if ( get_the_author_meta('description') ) : // If a user has filled out their decscription show a bio on their entries ?>
|
2010-02-07 17:16:26 +01:00
|
|
|
<div id="entry-author-info">
|
|
|
|
<div id="author-avatar">
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>
|
2010-02-08 19:02:23 +01:00
|
|
|
</div><!-- #author-avatar -->
|
2010-02-07 17:16:26 +01:00
|
|
|
<div id="author-description">
|
2010-02-14 08:13:34 +01:00
|
|
|
<h2><?php printf(__('About %s', 'twentyten'), get_the_author()); ?></h2>
|
2010-02-14 02:00:22 +01:00
|
|
|
<?php the_author_meta('description'); ?>
|
2010-02-07 17:16:26 +01:00
|
|
|
</div><!-- #author-description -->
|
|
|
|
</div><!-- .entry-author-info -->
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php rewind_posts(); ?>
|
2010-02-08 19:02:23 +01:00
|
|
|
|
2010-02-14 08:13:34 +01:00
|
|
|
<?php include 'loop.php'; ?>
|
2010-02-08 19:02:23 +01:00
|
|
|
|
|
|
|
</div><!-- #content -->
|
2010-02-07 17:16:26 +01:00
|
|
|
</div><!-- #container -->
|
2010-02-08 19:02:23 +01:00
|
|
|
|
|
|
|
<?php get_sidebar(); ?>
|
2010-02-07 17:16:26 +01:00
|
|
|
<?php get_footer(); ?>
|