<?php get_header(); ?>

<?php gp_page_header(); ?>

<div id="content-wrapper"<?php if ( $GLOBALS['gp_layout'] != 'gp-fullwidth' ) { ?> class="gp-container"<?php } ?>>

	<div id="content">

		<div class="blog-wrapper videos-wrapper <?php echo sanitize_html_class( $GLOBALS['gp_format'] ); ?> <?php echo sanitize_html_class( $GLOBALS['gp_size'] ); ?>"<?php echo gp_data_properties( 'taxonomy' ); ?>>
									
			<?php if ( have_posts() ) : ?>
		
				<?php get_template_part( 'lib/sections/filter' ); ?>
		
				<div class="inner-loop <?php echo sanitize_html_class( $gp['ajax'] ); ?>">

					<?php while ( have_posts() ) : the_post(); ?>

						<?php get_template_part( 'post', 'loop' ); ?>

					<?php endwhile; ?>
			
				</div>

				<?php echo gp_pagination( $wp_query->max_num_pages ); ?>

			<?php else : ?>

				<strong class="no-items-found"><?php _e( 'No items found.', 'gp_lang' ); ?></strong>

			<?php endif; ?>
				
		</div><!-- END BLOG WRAPPER -->
						
	</div><!-- END CONTENT -->

	<?php get_sidebar(); ?>

</div><!-- END CONTENT WRAPPER -->

<?php get_footer(); ?>