[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template used for displaying page content
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Fourteen
   7   * @since Twenty Fourteen 1.0
   8   */
   9  
  10  ?>
  11  
  12  <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  13      <?php
  14          // Page thumbnail and title.
  15          twentyfourteen_post_thumbnail();
  16          the_title( '<header class="entry-header"><h1 class="entry-title">', '</h1></header><!-- .entry-header -->' );
  17      ?>
  18  
  19      <div class="entry-content">
  20          <?php
  21              the_content();
  22              wp_link_pages(
  23                  array(
  24                      'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
  25                      'after'       => '</div>',
  26                      'link_before' => '<span>',
  27                      'link_after'  => '</span>',
  28                  )
  29              );
  30  
  31              edit_post_link( __( 'Edit', 'twentyfourteen' ), '<span class="edit-link">', '</span>' );
  32              ?>
  33      </div><!-- .entry-content -->
  34  </article><!-- #post-<?php the_ID(); ?> -->


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