Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b101efa8d9
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 34 lines (27 sloc) 1.067 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<?php
/**
* The template for displaying Author Archive pages.
*
* @package WordPress
* @subpackage Starkers
* @since Starkers HTML5 3.0
*/
 
get_header(); ?>
<?php
    if ( have_posts() )
        the_post();
?>
<h1><?php printf( __( 'Author Archives: %s', 'starkers' ), "<span class='vcard'><a class='url fn n' href='" . get_author_posts_url( get_the_author_meta( 'ID' ) ) . "' title='" . esc_attr( get_the_author() ) . "' rel='me'>" . get_the_author() . "</a></span>" ); ?></h1>
<?php
// If a user has filled out their description, show a bio on their entries.
if ( get_the_author_meta( 'description' ) ) : ?>
<?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'starkers_author_bio_avatar_size', 60 ) ); ?>
<h2><?php printf( __( 'About %s', 'starkers' ), get_the_author() ); ?></h2>
<?php the_author_meta( 'description' ); ?>
<?php endif; ?>
<?php
    rewind_posts();
 
    get_template_part( 'loop', 'author' );
?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Something went wrong with that request. Please try again.