Download raw (1.2 KB)
<?php get_header(); ?> THIS IS THE AUTHOR PAGE <div id="content_box"> <div id="left_side"> <?php if (have_posts()) : ?> <?php //$post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <h1>Posts by <?php the_author(); ?></h1> <?php while (have_posts()) : the_post(); ?> <div class="post"> <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3> <p class="meta"><?php the_time('F jS, Y') ?> · <?php the_tags('Tags: ', ' · ', ''); ?> · <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?></p> <div class="entry"> <?php the_excerpt() ?> </div> </div> <?php endwhile; ?> <?php include (TEMPLATEPATH . '/navigation.php'); ?> <?php else : ?> <h2 class="page_header">Welp, we couldn't find that...try again?</h2> <div class="entry"> <?php include (TEMPLATEPATH . '/searchform.php'); ?> </div> <?php endif; ?> </div> <div class="sidebar"> <?php include (TEMPLATEPATH . '/sidebar.php'); ?> </div> <div class="r_sidebar"> <?php include (TEMPLATEPATH . '/r_sidebar.php'); ?> </div> </div> <?php get_footer(); ?>