<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id="content">
<?php
if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>">
<div class="post-top"></div>
<div class="post"><div class="post-content">
<div class="posttitle"><a href="<?php the_permalink() ?>" rel="bookmark" title="Link permanente para <?php the_title_attribute(); ?>"><?php the_title(); ?></a>
<div class="date">
<?php the_time('j \d\e F \d\e Y') ?> | Autor: <?php the_author_posts_link('nickname'); ?>
<?php edit_post_link(' » Edit «','|',''); ?>
</div>
</div>
<div class="entry">
<?php the_content('mais...'); ?>
<?php wp_link_pages(array('before' => '<div><strong><center>Pages: ', 'after' => '</center></strong></div>', 'next_or_number' => 'number')); ?>
<div class="info">
<?php the_tags('<div class="tags">Tags: ', ', ', '</div>'); ?>
<div class="category">Categoria: <?php the_category(', ') ?></div>
</div>
</div>
</div></div>
<div class="post-bottom"></div>
</div>
<div id="postmetadata">
You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Both Comments and Pings are open ?>
You can <a href="#respond">Comente</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
<?php }elseif(!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { // Only Pings are Open ?>
Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
<?php }elseif(('open' == $post-> comment_status) && !('open' == $post->ping_status)){ // Comments are open, Pings are not ?>
You can skip to the end and leave a response. Pinging is currently not allowed.
<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { // Neither Comments, nor Pings are open ?>
Both comments and pings are currently closed.
<?php }
edit_post_link('Edit this entry.','','');
?>
</div>
<div id="comments"><?php comments_template(); ?></div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php previous_post_link('« %link') ?></div>
<div class="alignright"><?php next_post_link('%link »') ?></div>
</div>
<?php else : ?>
<h1>Não encontrado</h1>
<p class="sorry">"Sorry, but you are looking for something that isn't here. Try something else.</p>
<?php endif; ?>
</div>
<?php get_footer();?>