Advertisement
Guest User

content-page.php

a guest
Oct 4th, 2012
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.70 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The template used for displaying page content in page.php
  4.  *
  5.  */
  6. ?>
  7.  
  8. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  9.     <header class="entry-header">
  10.         <h1 class="entry-title"><?php the_title(); ?></h1>
  11.     </header><!-- .entry-header -->
  12.  
  13.     <div class="entry-content">
  14.         <?php the_content(); ?>
  15.         <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
  16.     </div><!-- .entry-content -->
  17.     <footer class="entry-meta">
  18.         <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
  19.     </footer><!-- .entry-meta -->
  20. </article><!-- #post-<?php the_ID(); ?> -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement