page.php 796 B

123456789101112131415161718192021222324252627282930
  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 Spun
  11. */
  12. get_header(); ?>
  13. <div id="primary" class="content-area">
  14. <div id="content" class="site-content <?php if (!is_front_page()):?> site-content-background <?php endif; ?>" role="main">
  15. <?php while ( have_posts() ) : the_post(); ?>
  16. <?php get_template_part( 'content', 'page' ); ?>
  17. <?php comments_template( '', true ); ?>
  18. <?php endwhile; // end of the loop. ?>
  19. </div><!-- #content .site-content -->
  20. </div><!-- #primary .content-area -->
  21. <?php get_sidebar(); ?>
  22. <?php get_footer(); ?>