<?php get_header(); ?>
<div class="grid_11">
	<div id="content">

	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
			<h2><?php the_title(); ?></h2>

			<div class="entry">
				<?php the_content(); ?>
				

				<?php wp_link_pages(array('before' => '<p><strong>Páginas:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
				<?php the_tags( '<p class="small">Tags: ', ', ', '</p>'); ?>

				<p class="postmetadata alt">
					<small>
						Esta entrada foi postada em <?php the_time('l, F jS, Y') ?> - <?php the_time() ?>
						e categorizada sob <?php the_category(', ') ?>.
						VocÃª pode seguir qualquer comentÃ¡rio desta entrada usando o feed <?php post_comments_feed_link('RSS 2.0'); ?>.

						<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
							// Both Comments and Pings are open ?>
							VocÃª pode <a href="#respond">deixar um comentÃ¡rio</a>.

						<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
							// Only Pings are Open ?>
							Respostas estão fechadas.

						<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
							// Comments are open, Pings are not ?>
							VocÃª pode pular até o final e deixar um comentÃ¡rio.

						<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
							// Neither Comments, nor Pings are open ?>
							ComentÃ¡rios estão fechados.

						<?php } edit_post_link('Editar esta entrada','','.'); ?>

					</small>
				</p>

			</div>
		</div>

	<?php comments_template(); ?>

	<?php endwhile; else: ?>

		<p>Desculpe, nenhum post encontrado.</p>

<?php endif; ?>

	</div>
</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
