[ Index ]

PHP Cross Reference of WordPress

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                      'pagelink'    => '<span class="screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>%',
  31                      'separator'   => '<span class="screen-reader-text">, </span>',
  32                  )
  33              );
  34              ?>
  35      </div><!-- .entry-content -->
  36  
  37      <?php edit_post_link( __( 'Edit', 'twentyfifteen' ), '<footer class="entry-footer"><span class="edit-link">', '</span></footer><!-- .entry-footer -->' ); ?>
  38  
  39  </article><!-- #post-<?php the_ID(); ?> -->


Generated: Wed Dec 25 01:00:02 2024 Cross-referenced by PHPXref 0.7.1