[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Template used for displaying page content in page.php
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Eleven
   7   * @since Twenty Eleven 1.0
   8   */
   9  ?>
  10  
  11  <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  12      <header class="entry-header">
  13          <h1 class="entry-title"><?php the_title(); ?></h1>
  14      </header><!-- .entry-header -->
  15  
  16      <div class="entry-content">
  17          <?php the_content(); ?>
  18          <?php
  19          wp_link_pages(
  20              array(
  21                  'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>',
  22                  'after'  => '</div>',
  23              )
  24          );
  25          ?>
  26      </div><!-- .entry-content -->
  27      <footer class="entry-meta">
  28          <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
  29      </footer><!-- .entry-meta -->
  30  </article><!-- #post-<?php the_ID(); ?> -->


Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref