CoreFiles by mySites.guru
category.php49 lines, 1,070 bytes, from wordpress-3.7-beta2.zip
Raw History Compare with 3.7-beta1
md5
14fb4139958e7d647d3e38fe53d3873a
sha1
92895d712f4563d06feeefbc6282c3dabb2e4689
sha256
27b7a620a2ab9a0d28cb85589d2048ab72807f8ad6167510c5425ca76edf2d8a
<?php
/**
 * The template for displaying Category pages.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 */

get_header(); ?>

	<section id="primary" class="content-area">
		<div id="content" class="site-content" role="main">

			<?php if ( have_posts() ) : ?>

			<header class="archive-header">
				<h1 class="archive-title"><?php single_cat_title(); ?></h1>

				<?php
					// Show an optional term description.
					$term_description = term_description();
					if ( ! empty( $term_description ) ) :
						printf( '<div class="taxonomy-description">%s</div>', $term_description );
					endif;
				?>
			</header><!-- .archive-header -->

			<?php
					while ( have_posts() ) :
						the_post();

						get_template_part( 'content', get_post_format() );
					endwhile;
					twentyfourteen_paging_nav();

				else :
					get_template_part( 'content', 'none' );

				endif;
			?>
		</div><!-- #content -->
	</section><!-- #primary -->

<?php
get_sidebar( 'content' );
get_sidebar();
get_footer();

The same content is in 2 releases, WordPress 3.7-beta1 to 3.7-beta2. See them all, or every version of this file.