Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 6th, 2012  |  syntax: None  |  size: 0.92 KB  |  hits: 10  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * The CHILD template for displaying Category Archive pages.
  4.  *
  5.  * @package WordPress
  6.  * @subpackage Twenty_Ten
  7.  * @since Twenty Ten 1.0
  8.  */
  9.  
  10. get_header(); ?>
  11.  
  12.                 <div id="container">
  13.                         <div id="content" role="main">
  14.  
  15.                                 <h1 class="page-title"><?php
  16.                                         printf( __( '%s', 'twentyten' ), '<span>' . single_cat_title( '', false ) . '</span>' );
  17.                                 ?></h1>
  18.                                 <?php
  19.                                         $category_description = category_description();
  20.                                         if ( ! empty( $category_description ) )
  21.                                                 echo '<div class="archive-meta">' . $category_description . '</div>';
  22.  
  23.                                 /* Run the loop for the category page to output the posts.
  24.                                  * If you want to overload this in a child theme then include a file
  25.                                  * called loop-category.php and that will be used instead.
  26.                                  */
  27.                                 get_template_part( 'loop', 'category' );
  28.                                 ?>
  29.  
  30.                         </div><!-- #content -->
  31.                 </div><!-- #container -->
  32.  
  33. <?php get_sidebar(); ?>
  34. <?php get_footer(); ?>