<?php 
/*
*Template Name: Default No-sidebar
*/

	$custom  = photofolio_custom();
	$header_style = $custom['header_style'];
	$header_options = get_post_meta($wp_query->post->ID, '_photofolio_header_style', true);
	if($header_options=='vertical'){
		$header_style = 'vertical';
	}
?>
<?php get_header($header_style);?>

			<?php if(get_post_meta($wp_query->post->ID, '_photofolio_page_title', true)!='off'){ ?>
			<!-- page-title section -->
			<section class="page-title-section">
				<div class="container">
					<?php if (function_exists('photofolio_breadcrumb')) { photofolio_breadcrumb(); }?>
					<h1><?php single_post_title();?></h1>
				</div>
			</section>
			<!-- End page-title section -->
			<?php } ?>

			<!-- blog section -->
			<section class="page-default">
				<div class="container">
					
						
							<?php 
								while(have_posts()) : the_post();
									the_content();
								endwhile;
							?>
							<?php if('open' == $post->comment_status){ ?>
								<?php comments_template(); ?>
								<?php } ?>
						
				</div>
			</section>
			<!-- End blog section -->

<?php get_footer($header_style); ?>