Advertisement
Guest User

Untitled

a guest
Sep 24th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. <?php
  2. /**
  3. * The main template file.
  4. *
  5. * This is the most generic template file in a WordPress theme
  6. * and one of the two required files for a theme (the other being style.css).
  7. * It is used to display a page when nothing more specific matches a query.
  8. * E.g., it puts together the home page when no home.php file exists.
  9. * Learn more: http://codex.wordpress.org/Template_Hierarchy
  10. *
  11. * @package Bushwick
  12. */
  13.  
  14. get_header(); ?>
  15.  
  16. <div id="primary" class="content-area">
  17. <main id="main" class="site-main" role="main">
  18.  
  19. <?php
  20. get_template_part( 'navigation' );
  21.  
  22. if ( have_posts() ) :
  23. the_post();
  24.  
  25. /* Include the Post-Format-specific template for the content.
  26. * If you want to overload this in a child theme then include a file
  27. * called content-___.php (where ___ is the Post Format name) and that will be used instead.
  28. */
  29. //get_template_part( 'content' );
  30.  
  31. while ( have_posts() ) :
  32. the_post();
  33.  
  34. get_template_part( 'content' );
  35. endwhile;
  36.  
  37. bushwick_paging_nav();
  38.  
  39. else :
  40. get_template_part( 'content', 'none' );
  41. endif;
  42. ?>
  43.  
  44. </main><!-- #main -->
  45. </div><!-- #primary -->
  46.  
  47. <?php get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement