<?php

	/* Template Name: Full Width Page Demo */

?>
<?php get_header(); ?>
	
	<div class="container">
		
		<div id="content-area" class="cf">
		
			
		
			<div id="mainpage">
                
                <ul class="ct_grid_view">
                <?php if ( have_posts() ) : ?>
<?php query_posts('post_type=post&post_status=publish&paged='. get_query_var('paged')); 
?>
			<?php while ( have_posts() ) : the_post(); ?>
					
							<?php get_template_part('content-area', 'grid'); ?>
						

			<?php endwhile; ?>

			<?php my_pagination(); ?>

                </ul>
		<?php else : ?>

			<?php get_template_part( 'content-area', 'none' ); ?>

		<?php endif; ?>
                
			
			</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>