Skip to content
This repository
tag: v1.1
Fetching contributors…

Cannot retrieve contributors at this time

file 36 lines (23 sloc) 1.021 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
<?php
/**
* Index Template
*
* This is the default template. It is used when a more specific template can't be found to display
* posts. It is unlikely that this template will ever be used, but there may be rare cases.
*
* @package Cakifo
* @subpackage Template
*/

get_header(); // Loads the header.php template ?>

<?php do_atomic( 'before_main' ); // cakifo_before_main ?>

    <div id="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 get_template_part( 'loop', get_post_format() ); ?>

<?php endwhile; ?>

<?php do_atomic( 'close_main' ); // cakifo_close_main ?>

        <?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template ?>

    </div> <!-- #main -->

    <?php do_atomic( 'after_main' ); // cakifo_after_main ?>

<?php get_footer(); // Loads the footer.php template ?>
Something went wrong with that request. Please try again.