Sha256: fad934899e8cca60d0c047f961e7e894f0dfe0bab14ead9877b25b80e88fae96
Contents?: true
Size: 940 Bytes
Versions: 1
Compression:
Stored size: 940 Bytes
Contents
<?php /** * The template for displaying Category pages. * * Used to display archive-type pages for posts in a category. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @category Theme * @package [bootstrap] * @author [Your Name] * @copyright 2012 [Your Name] */ get_header(); if ( have_posts() ): ?> <header class="archive-header"> <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'bootstrap' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?></h1> <?php if ( category_description() ): // Show an optional category description ?> <div class="archive-meta"><?php echo category_description(); ?></div> <?php endif; ?> </header> <?php /* Start the Loop */ while ( have_posts() ): the_post(); get_template_part( 'content', get_post_format() ); endwhile; do_action( 'pagination' ); else: get_template_part( 'content', 'none' ); endif; get_footer();
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wordpress-starter-0.3 | templates/bootstrap/category.php |