File: /home/vmasmheia229/domains/cindymuscarello.com/html/wp-content/themes/kathy/page.php
<?php
/**
* The template for displaying all page content
*
* @since 1.0.0
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); // Start the loop ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() ) : ?>
<?php
$image_size = 'kathy-large';
echo '<div class="post-image">';
the_post_thumbnail( $image_size );
echo '</div>';
?>
<?php endif; // has_post_thumbnail() ?>
<div class="post-content-container clearfix">
<?php if ( is_front_page() ) : ?>
<h2 class="post-title"><?php the_title(); ?></h2>
<?php else : ?>
<h1 class="post-title"><?php the_title(); ?></h1>
<?php endif; ?>
<div class="inner-post-content-container">
<div class="post-content">
<?php
the_content();
kathy_print_post_pagination();
?>
</div>
</div>
<!-- .inner-post-content-container -->
</div>
<!-- .post-content-container -->
<!-- Comment Section -->
<?php
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
?>
</article>
<?php endwhile; // End of the loop ?>
<?php get_footer(); ?>