Advertisement
FlyFX

category.php

Jun 9th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <?php
  2. /**
  3. * The 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. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  14. <tr>
  15. <td><table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  16. <tr>
  17. <td width="760" valign="top"><?php
  18. $category_description = category_description();
  19. if ( ! empty( $category_description ) )
  20. echo '<div class="archive-meta">' . $category_description . '</div>';
  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. get_template_part( 'loop-category', 'category' );
  27. ?>
  28. <br />
  29. <br />
  30. <br /></td>
  31. <td width="200" align="left" valign="top"><?php get_sidebar(); ?></td>
  32. </tr>
  33. </table>
  34. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  35. <tr>
  36. <td><?php get_footer(); ?></td>
  37. </tr>
  38. </table></td>
  39. </tr>
  40. </table>
  41. <div id="content" role="main"></div><!-- #content -->
  42. </div><!-- #container -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement