CoreFiles by mySites.guru
category.php34 lines, 928 bytes, from wordpress-3.0.zip
Raw History Compare with 2.9.2
md5
5420d57540c9ff83cd30b567ceb6e263
sha1
562d2687c45ff25f41a187291e39dd0641755a3e
sha256
c8b02e2cff29424ff53646f5f67ff54c71950c6ceff3b5e3c38780ac44158987
<?php
/**
 * The template for displaying Category Archive pages.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>

		<div id="container">
			<div id="content" role="main">

				<h1 class="page-title"><?php
					printf( __( 'Category Archives: %s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
				?></h1>
				<?php
					$category_description = category_description();
					if ( ! empty( $category_description ) )
						echo '<div class="archive-meta">' . $category_description . '</div>';

				/* Run the loop for the category page to output the posts.
				 * If you want to overload this in a child theme then include a file
				 * called loop-category.php and that will be used instead.
				 */
				get_template_part( 'loop', 'category' );
				?>

			</div><!-- #content -->
		</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>

The same content is in 57 releases, WordPress 3.0-RC3 to 3.5-RC4. See them all, or every version of this file.