PageRenderTime 56ms CodeModel.GetById 29ms RepoModel.GetById 1ms app.codeStats 0ms

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

https://bitbucket.org/lgorence/quickpress
PHP | 20 lines | 12 code | 2 blank | 6 comment | 0 complexity | 65bb09c4f1ea7bbb058518ff4c77090b MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, AGPL-1.0
  1. <?php
  2. /**
  3. * The template used for displaying page content in page.php
  4. *
  5. * @package Toolbox
  6. * @since Toolbox 1.0
  7. */
  8. ?>
  9. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  10. <header class="entry-header">
  11. <h1 class="entry-title"><?php the_title(); ?></h1>
  12. </header><!-- .entry-header -->
  13. <div class="entry-content">
  14. <?php the_content(); ?>
  15. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'toolbox' ), 'after' => '</div>' ) ); ?>
  16. <?php edit_post_link( __( 'Edit', 'toolbox' ), '<span class="edit-link">', '</span>' ); ?>
  17. </div><!-- .entry-content -->
  18. </article><!-- #post-<?php the_ID(); ?> -->