Advertisement
slkmclaren

index.php (harmony theme)

Dec 18th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="main-area">
  4. <div class="container">
  5. <div id="content-area" class="clearfix">
  6. <div id="left-area">
  7. <?php
  8. if ( have_posts() ) : while ( have_posts() ) : the_post();
  9. get_template_part( 'content', get_post_format() );
  10. endwhile;
  11. if ( function_exists( 'wp_pagenavi' ) ) wp_pagenavi();
  12. else get_template_part( 'includes/navigation', 'index' );
  13. else:
  14. get_template_part( 'includes/no-results','index' );
  15. endif;
  16. ?>
  17. </div> <!-- end #left-area -->
  18.  
  19. <?php get_sidebar(); ?>
  20. </div> <!-- end #content-area -->
  21. </div> <!-- end .container -->
  22. </div> <!-- end #main-area -->
  23.  
  24. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement