[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The template used for displaying page content
   4   *
   5   * @package WordPress
   6   * @subpackage Twenty_Fifteen
   7   * @since Twenty Fifteen 1.0
   8   */
   9  ?>
  10  
  11  <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  12      <?php
  13          // Post thumbnail.
  14          twentyfifteen_post_thumbnail();
  15      ?>
  16  
  17      <header class="entry-header">
  18          <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  19      </header><!-- .entry-header -->
  20  
  21      <div class="entry-content">
  22          <?php the_content(); ?>
  23          <?php
  24              wp_link_pages(
  25                  array(
  26                      'before'      => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfifteen' ) . '</span>',
  27                      'after'       => '</div>',
  28                      'link_before' => '<span>',
  29                      'link_after'  => '</span>',
  30                      /* translators: Hidden accessibility text. */
  31                      'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
  32                      'separator'   => '<span class="screen-reader-text">, </span>',
  33                  )
  34              );
  35              ?>
  36      </div><!-- .entry-content -->
  37  
  38      <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
  39  
  40  </article><!-- #post-<?php the_ID(); ?> -->


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