CoreFiles by mySites.guru
category.php50 lines, 1,093 bytes, from wordpress-3.8-beta-1.zip
Raw History Compare with 3.7-beta2
md5
0d2f84b19a074f076e3c1b54af60665d
sha1
64b0affbf21dbc8fb065e6ce39378982b7a585a1
sha256
30feaa2dc69f0c54c6ad7a64f1216d1b01e78e1f091504797a71511867410411
<?php
/**
 * The template for displaying Category pages
 *
 * @link http://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */

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-RC1 to 3.8-beta-1. See them all, or every version of this file.