Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 53 lines (35 sloc) 1.592 kb
<?php
/**
* The Template for displaying all single posts.
*
* @package _tk
*/
$content_class = array('main-content-inner');
?>
<?php get_header(); ?>
<div class="main-content">
<div id="container" class="container">
<div class="row">
<?php do_action( 'cc_first_inside_main_content'); ?>
<?php
// get the left sidebar if it should be displayed
if( cc2_display_sidebar( 'left' ) )
get_sidebar( 'left' ); ?>
<div id="content" class="<?php echo apply_filters( 'cc2_content_class', $content_class ); ?>">
<?php do_action( 'cc_first_inside_main_content_inner'); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'single' ); ?>
<?php _tk_content_nav( 'nav-below' ); ?>
<?php
// If comments are open or we have at least one comment, load up the comment template
if ( comments_open() || '0' != get_comments_number() )
comments_template();
?>
<?php endwhile; // end of the loop. ?>
</div><!-- close #content -->
<?php if( cc2_display_sidebar( 'right' ) )
get_sidebar( 'right' ); ?>
</div><!-- close .row -->
</div><!-- close .container -->
</div><!-- close .main-content -->
<?php get_footer(); ?>
Jump to Line
Something went wrong with that request. Please try again.