1. <?php get_header(); ?>
  2. <div class="art-layout-wrapper">
  3. <div class="art-content-layout">
  4. <div class="art-content-layout-row">
  5. <div class="art-layout-cell art-content">
  6. <?php get_sidebar('top'); ?>
  7. <?php
  8. if(have_posts()) {
  9.  
  10. /* Display navigation to next/previous pages when applicable */
  11. if ( theme_get_option('theme_' . (theme_is_home() ? 'home_' : '') . 'top_posts_navigation' ) ) {
  12. theme_page_navigation();
  13. }
  14.  
  15. /* Start the Loop */
  16. while (have_posts()) {
  17. the_post();
  18. get_template_part('content', get_post_format());
  19. }
  20.  
  21. /* Display navigation to next/previous pages when applicable */
  22. if (theme_get_option('theme_bottom_posts_navigation')) {
  23. theme_page_navigation();
  24. }
  25.  
  26. } else {
  27.  
  28. theme_404_content();
  29.  
  30. }
  31. ?>
  32. <?php get_sidebar('bottom'); ?>
  33. <div class="cleared"></div>
  34. </div>
  35. <div class="art-layout-cell art-sidebar1">
  36. <?php get_sidebar('default'); ?>
  37. <div class="cleared"></div>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="cleared"></div>
  43. <?php get_footer(); ?>