[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentyeleven/ -> page.php (source)

   1  <?php
   2  /**
   3   * 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
  21                  while ( have_posts() ) :
  22                      the_post();
  23                      ?>
  24  
  25                      <?php get_template_part( 'content', 'page' ); ?>
  26  
  27                      <?php comments_template( '', true ); ?>
  28  
  29                  <?php endwhile; // end of the loop. ?>
  30  
  31              </div><!-- #content -->
  32          </div><!-- #primary -->
  33  
  34  <?php get_footer(); ?>


Generated: Fri Jul 19 01:00:04 2019 Cross-referenced by PHPXref 0.7.1