/wp-content/themes/toolbox/content-page.php
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
- <?php
- /**
- * The template used for displaying page content in page.php
- *
- * @package Toolbox
- * @since Toolbox 1.0
- */
- ?>
- <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <header class="entry-header">
- <h1 class="entry-title"><?php the_title(); ?></h1>
- </header><!-- .entry-header -->
- <div class="entry-content">
- <?php the_content(); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'toolbox' ), 'after' => '</div>' ) ); ?>
- <?php edit_post_link( __( 'Edit', 'toolbox' ), '<span class="edit-link">', '</span>' ); ?>
- </div><!-- .entry-content -->
- </article><!-- #post-<?php the_ID(); ?> -->