File: /home/mmickelson/martyknows.com/wp-content/themes/ambiru/single.php
<?php get_header(); ?>
<div id="content">
<?php if (have_posts()) :?>
<?php $postCount=0; ?>
<?php while (have_posts()) : the_post();?>
<?php $postCount++;?>
<div id="post-<?php the_ID(); ?>" <?php post_class( "entry entry-$postCount" ); ?>>
<div class="entrytitle">
<h2><?php the_title(); ?></h2>
<h3><?php the_time(get_option("date_format")); ?></h3>
</div>
<div class="entrybody">
<?php the_content(__('Read the rest of this entry »','ambiru')); ?>
<?php wp_link_pages(); ?>
</div>
<div class="entrymeta">
<div class="postinfo">
<div class="postedby"><?php _e('Posted by','ambiru'); ?> <?php the_author() ?></div>
<div class="filedto"><?php _e('Filed in','ambiru'); ?> <?php the_category(', ') ?> <?php the_tags( ' ·' . __( 'Tags' ) . ': ', ', ', ''); ?> <?php edit_post_link(__('Edit','ambiru'), ' | ', ''); ?></div>
</div>
<?php
if ( comments_open() && pings_open() || comments_open() && !pings_open() ) {
// If comments and pings are open OR pings are closed
comments_popup_link(__('Leave a Comment »','ambiru'), __('1 Comment »','ambiru'), __('% Comments »','ambiru'), 'commentslink', __('Comments off','ambiru'));
} elseif ( !comments_open() && pings_open() ) {
// If comments are closed BUT pings are still open
printf(__('Comments are off but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'ambiru'), trackback_url(false));
} elseif ( !comments_open() && !pings_open() ) {
// If comments AND pings are closed
_e( 'Comments off', 'ambiru' );
}
?>
</div>
</div>
<div class="commentsblock">
<?php comments_template(); ?>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link(__('« Previous Entries', 'ambiru')) ?></div>
<div class="alignright"><?php previous_posts_link(__('Next Entries »', 'ambiru')) ?></div>
</div>
<?php else : ?>
<h2><?php _e('Not Found', 'ambiru'); ?></h2>
<div class="entrybody"><?php _e("Sorry, but you are looking for something that isn't here.", "ambiru"); ?></div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
</body>
</html>