Digitalraindrops

version 3 category.php

Jul 3rd, 2011
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.39 KB | None | 0 0
  1. <?php get_header(); ?>
  2. <div class="art-content-layout">
  3.     <div class="art-content-layout-row">
  4.         <div class="art-layout-cell art-sidebar1">
  5.          <div class="art-layout-bg"></div>
  6.           <?php get_sidebar('default'); ?>
  7.           <div class="cleared"></div>
  8.         </div>
  9.         <div class="art-layout-cell art-content">
  10.             <?php get_sidebar('top'); ?>
  11.             <?php
  12.                 if(have_posts()) {
  13.                
  14.                     /* Display navigation to next/previous pages when applicable */
  15.                     if ( theme_get_option('theme_' . (theme_is_home() ? 'home_' : '') . 'top_posts_navigation' ) ) {
  16.                         theme_page_navigation();
  17.                     }
  18.                    
  19.                     /* Start the Loop */
  20.                     while (have_posts()) {
  21.                         the_post();
  22.                         get_template_part('content', 'category'); //Added the content file here
  23.                     }
  24.                    
  25.                     /* Display navigation to next/previous pages when applicable */
  26.                     if (theme_get_option('theme_bottom_posts_navigation')) {
  27.                          theme_page_navigation();
  28.                     }
  29.                
  30.                 } else {
  31.                
  32.                      theme_404_content();
  33.                      
  34.                 }
  35.             ?>
  36.             <?php get_sidebar('bottom'); ?>
  37.           <div class="cleared"></div>
  38.         </div>
  39.         <div class="art-layout-cell art-sidebar2">
  40.          <div class="art-layout-bg"></div>
  41.           <?php get_sidebar('secondary'); ?>
  42.           <div class="cleared"></div>
  43.         </div>
  44.     </div>
  45. </div>
  46. <div class="cleared"></div>
  47. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment