File: /home/mmickelson/martyknows.com/wp-content/themes/ambiru/content.php
<?php
/**
* @package Ambiru
*/
?>
<?php
global $postCount;
$postCount++;
?>
<div id="post-<?php the_ID(); ?>" <?php post_class( "entry entry-$postCount" ); ?>>
<div class="entrytitle">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( 'Permanent Link to %s', 'ambiru' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_title(); ?></a></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>