Guest User

category.php

a guest
Oct 2nd, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. <?php
  2. /**
  3. * The category archive template file
  4. *
  5. * @package Graphene
  6. * @since Graphene 1.1.5
  7. */
  8. get_header();
  9. ?>
  10.  
  11. <h1 class="page-title archive-title">
  12. <?php
  13. printf( __( 'Category Archive: <span>%s</span>', 'graphene' ), single_cat_title( '', false ) );
  14. ?>
  15. </h1>
  16.  
  17. <?php graphene_tax_description(); ?>
  18.  
  19. <div class="entries-wrapper">
  20. <?php
  21. /**
  22. * Run the loop for the category page to output the posts.
  23. * If you want to overload this in a child theme then include a file
  24. * called loop-category.php and that will be used instead.
  25. */
  26. while ( have_posts() ) {
  27. the_post();
  28. get_template_part( 'loop', 'category' );
  29. }
  30. ?>
  31. </div>
  32.  
  33. <?php graphene_posts_nav(); ?>
  34.  
  35. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment