Permalink
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (22 sloc) 912 Bytes
<?php
/**
* Singular Template
*
* This is the default singular template. It is used when a more specific template can't be found to display
* singular views of posts (any post type).
*
* @package Cakifo
* @subpackage Template
*/
get_header(); // Loads the header.php template ?>
<?php do_atomic( 'before_main' ); // cakifo_before_main ?>
<main id="main" class="site-main" role="main">
<?php do_atomic( 'open_main' ); // cakifo_open_main ?>
<?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template ?>
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php cakifo_get_loop_template( get_post_format() ); ?>
<?php endwhile; ?>
<?php do_atomic( 'close_main' ); // retro-fitted_close_main ?>
</main> <!-- .site-main -->
<?php do_atomic( 'after_main' ); // retro-fitted_after_main ?>
<?php get_footer(); // Loads the footer.php template. ?>