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

get_header(); ?>
<div class="wrap">
    <div class="grids">
        <section class="grid-10" role="main">
            <article class="full-width">         		
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
		    <section class="post" id="post-<?php the_ID(); ?>">
		        <h2 class="entry-title"><?php the_title(); ?></h2>
			    <div class="postmetadata">			
                                <p class="post-author">
                                <?php _e( 'Posted By', 'tswplain' ); ?> <?php the_author(); ?> 
<?php the_time('F jS, Y') ?> : <?php $numComments = get_comments_number(); echo $numComments;?>&nbsp;
                                <?php _e ('COMMENTS', 'tswplain'); ?> &nbsp;
                                <?php edit_post_link(__('Edit', ' &#124; ', 'tswplain') ); ?></p>
		            </div>
			        <article class="content">
			        <?php the_content(); ?>
			        </article>
                                <p> <?php the_tags(); ?></p>
                                <?php comments_template(); ?>
                                <div id="commentform" class="comment-form">
                                    <?php comment_form(); ?>
                                </div>
                    </section> <!-- ends of post -->
		<?php endwhile; endif; ?>
            </article>               
        </section>
    </div><!-- ends main -->
</div><!-- ends grids -->
<?php get_footer(); ?>