<?php
/*
Template Name: No Sidebar
*/

get_header(); ?>

	<div id="body">	
		<h3 class="bcrumb">
			<?php gabfire_breadcrumb(); ?>
		</h3>
			
		<div id="main_content" class="fullwidth">

			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>		
					
				<article id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
						
						<div class="head">
							<h1 class="entry-title"><?php the_title(); ?></h1>
						</div><!-- /post head -->
						
						<div class="entry">
							<?php
							
							gabfire_media(array(
							'name' => 'qs-innerslide', 
							'imgtag' => 1,
							'link' => 0,
							'enable_video' => 1, 
							'video_id' => 'mediabar', 
							'enable_thumb' => 0, 
							'catch_image' => 0,
							'resize_type' => 'c', /* c to crop, h to resize only height, w to resize only width */
							'media_width' => 898, 
							'media_height' => 450, 
							'thumb_align' => 'aligncenter', 
							'enable_default' => 0
							)); 

							the_content(); 
							
							// make sure any floated content gets cleared
							echo '<div class="clear"></div>';
							
							// Display pagination
							gabfire_postpagination();
							
							// Tags
							the_tags('<p class="posttags"><i class="fa fa-tags"></i> ',', ', '</p>');							
							?>
							<div class="clear"></div>
						</div><!-- /entry -->
																		
				</article><!-- /post -->
				
			<?php endwhile; endif; ?>

		</div><!-- /main_content -->
			
	</div><!-- /body -->
<?php get_footer(); ?>