File: /home/mmickelson/martyknows.com/wp-content/themes/piano-black/category.php
<?php
/**
* @package WordPress
* @subpackage Piano Black
*/
get_header(); ?>
<section id="primary">
<div id="content" role="main">
<header class="page-header">
<h1 class="page-title"><?php
printf( __( 'Category Archives: %s', 'piano-black' ), '<span>' . single_cat_title( '', false ) . '</span>' );
?></h1>
<?php $categorydesc = category_description(); if ( ! empty( $categorydesc ) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?>
</header>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php endwhile; ?>
<?php /* Display navigation to next/previous pages when applicable */ ?>
<?php if ( $wp_query->max_num_pages > 1 ) : ?>
<nav id="nav-below" class="post-nav">
<h1 class="section-heading"><?php _e( 'Post navigation', 'piano-black' ); ?></h1>
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'piano-black' ) ); ?></div>
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'piano-black' ) ); ?></div>
</nav><!-- #nav-below -->
<?php endif; ?>
</div><!-- #content -->
</section><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>