?php
/**
* The template used for displaying post content in single.php
*
* @package Catch Themes
* @subpackage Catch Responsive Pro
* @since Catch Responsive 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
/**
* catchresponsive_before_post_container hook
*
* @hooked catchresponsive_single_content_image - 10
*/
do_action( 'catchresponsive_before_post_container' ); ?>
<div class="entry-container">
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php catchresponsive_entry_meta(); ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links"><span class="pages">' . __( 'Pages:', 'catch-responsive' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) );
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php catchresponsive_tag_category(); ?>
</footer><!-- .entry-footer -->
</div><!-- .entry-container -->
</article><!-- #post-## -->
<?php
/**
* The Template for displaying all single posts
*
* @package Catch Themes
* @subpackage Catch Responsive Pro
* @since Catch Responsive 1.0
*/
get_header(); ?>
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php
/**
* catchresponsive_after_post hook
*
* @hooked catchresponsive_post_navigation - 10
*/
do_action( 'catchresponsive_after_post' );
/**
* catchresponsive_comment_section hook
*
* @hooked catchresponsive_get_comment_section - 10
*/
do_action( 'catchresponsive_comment_section' );
?>
<?php endwhile; // end of the loop. ?>
</main><!-- #main -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>