<?php 
/*
Template Name: Full Width
*/

global $options;
foreach ($options as $value) {
    if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
}
get_header(); ?>

<div id="content">
<div class="wrap">
      
	<?php wp_reset_query(); if (have_posts()) : while (have_posts()) : the_post(); ?>
	      
	<div class="teaser">
		<h1><?php the_title(); ?></h1>
		<p class="postmetadata"><?php edit_post_link( __('EDIT', 'tutspress'), '', ''); ?></p>
	</div>
	      
	<div class="column column-full">
	      
		<div class="single">
		      
			<?php the_content(''); ?>
			      
			<div class="clear">&nbsp;</div>
			<?php wp_link_pages(array('before' => '<p class="pages"><strong>'.__('Pages', 'tutspress').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
			<?php comments_template(); ?>
		      
		</div>
		      
		<?php endwhile; endif; ?>	
		        
		<div class="clear">&nbsp;</div>
	      
	</div><!-- end .column .column-full -->
	      
	<div class="clear">&nbsp;</div>
	<div class="sep">&nbsp;</div>

</div><!-- end .wrap -->
</div><!-- end #content -->
<?php get_footer(); ?>
