Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (37 sloc) 1.76 KB
<?php get_header(); ?>
<div class="main-column">
<?php get_template_part( 'promo' ); ?>
<section class="focus category loop">
<h1 class="section-title">Posts published in the <strong><em><?php single_cat_title(); ?></em></strong> category:</h1>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article class="post snippet">
<h1 class="article-title">
<a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php get_template_part( 'post', 'meta' ); ?>
<?php the_content() ?>
<span class="full-post">
<a class="btn" title="<?php the_title(); ?>" href="<?php the_permalink();?>">View full post &raquo;</a>
<?php endwhile; else: ?>
<article class="post snippet">
<h2><?php _e('Sorry, there are no posts in this category.'); ?></h2>
<?php endif; ?>
<nav class="back-and-forth">
<li><?php next_posts_link('&laquo; Previous Posts'); ?></li>
<li><?php previous_posts_link('Newer Posts &raquo;'); ?></li>
<section class="shoulder">
<?php get_sidebar(); ?>
<?php get_footer(); ?>