[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/wp-content/themes/twentyseventeen/template-parts/page/ -> content-page.php (source)

   1  <?php
   2  /**
   3   * Template part for displaying page content in page.php
   4   *
   5   * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
   6   *
   7   * @package WordPress
   8   * @subpackage Twenty_Seventeen
   9   * @since Twenty Seventeen 1.0
  10   * @version 1.0
  11   */
  12  
  13  ?>
  14  
  15  <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  16      <header class="entry-header">
  17          <?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
  18          <?php twentyseventeen_edit_link( get_the_ID() ); ?>
  19      </header><!-- .entry-header -->
  20      <div class="entry-content">
  21          <?php
  22              the_content();
  23  
  24              wp_link_pages(
  25                  array(
  26                      'before' => '<div class="page-links">' . __( 'Pages:', 'twentyseventeen' ),
  27                      'after'  => '</div>',
  28                  )
  29              );
  30              ?>
  31      </div><!-- .entry-content -->
  32  </article><!-- #post-<?php the_ID(); ?> -->


Generated: Sun Dec 22 01:00:02 2024 Cross-referenced by PHPXref 0.7.1