wordpress/php-fpm/wordpress_files/themes/toolbox/content-page.php

21 lines
652 B
PHP
Raw Normal View History

2020-05-22 03:40:23 +02:00
<?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(); ?> -->