File: /home/storage/162/3480162/user/htdocs/wp-content/themes/colormag/content-page.php
<?php
/**
* The template used for displaying page content in page.php
*
* @package ThemeGrill
* @subpackage ColorMag
* @since ColorMag 1.0
*/
// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
/**
* Hook: colormag_before_post_content.
*/
do_action( 'colormag_before_post_content' );
/**
* Hook: colormag_before_single_page_loop.
*/
do_action( 'colormag_before_single_page_loop' );
?>
<?php if ( 1 == get_theme_mod( 'colormag_featured_image_single_page_show', 1 ) && has_post_thumbnail() ) : ?>
<div class="featured-image">
<?php the_post_thumbnail( 'colormag-featured-image' ); ?>
</div>
<?php endif; ?>
<header class="entry-header">
<?php if ( is_front_page() ) : ?>
<h2 class="entry-title">
<?php the_title(); ?>
</h2>
<?php else : ?>
<h1 class="entry-title">
<?php the_title(); ?>
</h1>
<?php endif; ?>
</header>
<div class="entry-content clearfix">
<?php
the_content();
wp_link_pages(
array(
'before' => '<div style="clear: both;"></div><div class="pagination clearfix">' . esc_html__( 'Pages:', 'colormag' ),
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
)
);
?>
</div>
<div class="entry-footer">
<?php edit_post_link( esc_html__( 'Edit', 'colormag' ), '<span class="edit-link"><i class="fa fa-edit"></i>', '</span>' ); ?>
</div>
<?php
/**
* Hook: colormag_after_single_page_loop.
*/
do_action( 'colormag_after_single_page_loop' );
/**
* Hook: colormag_after_post_content.
*/
do_action( 'colormag_after_post_content' );
?>
</article>