PageRenderTime 43ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/themes/twentytwelve/content-page.php

https://bitbucket.org/abnopanda/wordpress
PHP | 23 lines | 14 code | 2 blank | 7 comment | 0 complexity | 2699a042bc7f5181db7b8a186d58818f MD5 | raw file
  1. <?php
  2. /**
  3. * The template used for displaying page content in page.php
  4. *
  5. * @package WordPress
  6. * @subpackage Twenty_Twelve
  7. * @since Twenty Twelve 1.0
  8. */
  9. ?>
  10. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  11. <header class="entry-header">
  12. <h1 class="entry-title"><?php the_title(); ?></h1>
  13. </header>
  14. <div class="entry-content">
  15. <?php the_content(); ?>
  16. <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
  17. </div><!-- .entry-content -->
  18. <footer class="entry-meta">
  19. <?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
  20. </footer><!-- .entry-meta -->
  21. </article><!-- #post -->