page.php 832 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * The template for displaying all pages.
  4. *
  5. * This is the template that displays all pages by default.
  6. * Please note that this is the WordPress construct of pages
  7. * and that other 'pages' on your WordPress site will use a
  8. * different template.
  9. *
  10. * @package bml
  11. */
  12. get_header(); ?>
  13. <div id="primary" class="content-area">
  14. <main id="main" class="site-main" role="main">
  15. <?php while ( have_posts() ) : the_post(); ?>
  16. <?php get_template_part( 'content', 'page' ); ?>
  17. <?php
  18. // If comments are open or we have at least one comment, load up the comment template
  19. if ( comments_open() || '0' != get_comments_number() )
  20. comments_template();
  21. ?>
  22. <?php endwhile; // end of the loop. ?>
  23. </main><!-- #main -->
  24. </div><!-- #primary -->
  25. <?php get_sidebar(); ?>
  26. <?php get_footer(); ?>