<?php
/**
 * The template for displaying Category Archive pages.
 *
 * Used to display archive-type pages if nothing more specific matches a query.
 * For example, puts together date-based pages if no date.php file exists.
 *
 * Learn more: http://codex.wordpress.org/Template_Hierarchy
 */
?>
<?php get_header(); ?>
<!--Start Contetn wrapper-->
<div class="grid_24 content_wrapper">
    <div class="grid_15 alpha">
        <!--Start side content-->
        <div class="side_content">
            <h1><?php printf(__('Category Archives: %s', 'themia-lite'), '' . single_cat_title('', false) . ''); ?></h1>
            <?php
            $category_description = category_description();
            if (!empty($category_description))
                echo '' . $category_description . '';
            /* Run the loop for the category page to output the posts.
             * If you want to overload this in a child theme then include a file
             * called loop-category.php and that will be used instead.
             */
            ?>
            <?php get_template_part('loop', 'index'); ?>
            <div class='wp-pagenavi'>
                <?php echo paginate_links(); ?>
            </div>
        </div>
        <!--End side content-->
    </div>
    <?php get_sidebar(); ?>
</div>
<!--End Content wrapper-->
<div class="clear"></div>
</div>
<?php get_footer(); ?>
