Skip to content

Instantly share code, notes, and snippets.

@andrastudio
Created August 16, 2012 06:47
Show Gist options
  • Save andrastudio/3367445 to your computer and use it in GitHub Desktop.
Save andrastudio/3367445 to your computer and use it in GitHub Desktop.
<?php get_header(); ?>
<!-- START: LEFT COLUMN -->
<div id="leftcol" class="wide">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="title"><?php the_title(); ?></h1>
<div class="meta clearfix">
<span class="date"><abbr title="<?php the_time( get_option('date_format') .' - '. get_option('time_format') ); ?>"><?php the_time( get_option('date_format') ); ?></abbr></span>
<span class="author"><?php _e('Written by ', 'warrior'); the_author_posts_link(); ?></span>
<span class="cats"><?php echo get_the_term_list( $post->ID, 'gallery_type', '', ', ', '' ) ;?></span>
<?php warrior_admin_update_link(); ?>
</div>
<div class="entry">
<?php the_content(); ?>
</div>
</div>
<div class="navigation clearfix">
<?php previous_post_link('%link', __('&laquo; Previous', 'warrior')); ?>
<?php next_post_link('%link', __('Next &raquo;', 'warrior')); ?>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
<!-- END: LEFT COLUMN -->
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment