wordpress/php-fpm/wordpress_files/themes/hive-lite/content-page.php
2020-05-22 01:40:23 +00:00

35 lines
857 B
PHP

<?php
/**
* The template used for displaying page content in page.php
* @package Hive Lite
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail( 'hive-single-image' ); ?>
</div>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
</div><!-- .entry-content -->
<?php
wp_link_pages( array(
'before' => '<div class="page-links pagination">',
'after' => '</div>',
) ); ?>
<footer class="entry-footer">
<?php edit_post_link( esc_html__( 'Edit', 'hive-lite' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-## -->