Want more features on Pastebin? Sign Up, it's FREE!
Guest

content-page.php

By: a guest on Oct 30th, 2012  |  syntax: PHP  |  size: 0.80 KB  |  views: 46  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * The template used for displaying page content in page.php
  4.  *
  5.  * @package WordPress
  6.  * @subpackage Twenty_Eleven
  7.  * @since Twenty Eleven 1.0
  8.  */
  9. ?>
  10. <div id="Head"></div>
  11. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  12.         <header class="entry-header">
  13.                 <h1 class="entry-title"><?php the_title(); ?></h1>
  14.         </header><!-- .entry-header -->
  15.  
  16.         <div class="entry-content">
  17.                 <?php the_content(); ?>
  18.                 <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
  19.         </div><!-- .entry-content -->
  20.         <footer class="entry-meta">
  21.                 <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
  22.         </footer><!-- .entry-meta -->
  23. </article><!-- #post-<?php the_ID(); ?> -->
clone this paste RAW Paste Data