[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

   1  <?php
   2  /**
   3   * Template for displaying page content in the showcase.php page template
   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( 'intro' ); ?>>
  12      <header class="entry-header">
  13          <h2 class="entry-title"><?php the_title(); ?></h2>
  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          <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
  27      </div><!-- .entry-content -->
  28  </article><!-- #post-<?php the_ID(); ?> -->


Generated: Fri May 29 01:00:08 2020 Cross-referenced by PHPXref 0.7.1