markbotter

page.php

Mar 4th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  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 WordPress
  11. * @subpackage Twenty_Eleven
  12. * @since Twenty Eleven 1.0
  13. */
  14.  
  15. get_header(); ?>
  16.  
  17. <div id="primary">
  18. <div id="content" role="main">
  19.  
  20. <?php while ( have_posts() ) : the_post(); ?>
  21.  
  22. <?php get_template_part( 'content', 'page' ); ?>
  23.  
  24. <?php comments_template( '', true ); ?>
  25.  
  26. <?php endwhile; // end of the loop. ?>
  27.  
  28. </div><!-- #content -->
  29. </div><!-- #primary -->
  30.  
  31. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment