File: /home/mmickelson/martyknows.com/wp-content/themes/chunk/content.php
<?php
/**
* @package Chunk
*/
$format = get_post_format();
if ( false === $format )
$format = 'standard';
?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<div class="entry-meta">
<?php if ( ! is_page() ) : ?>
<div class="date"><a href="<?php the_permalink(); ?>"><?php chunk_date(); ?></a></div>
<?php endif; ?>
<?php if ( comments_open() || ( '0' != get_comments_number() && ! comments_open() ) ) : ?>
<div class="comments"><?php comments_popup_link( __( 'Leave a comment', 'chunk' ), __( '1 Comment', 'chunk' ), __( '% Comments', 'chunk' ) ); ?></div>
<?php endif; ?>
<?php if ( is_single() && ! is_page() ) : ?>
<span class="byline">
<a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>">
<?php printf( __( 'By %1$s', 'chunk' ), esc_html( get_the_author() ) ); ?>
</a>
</span><!-- .byline -->
<?php endif; ?>
<span class="cat-links"><?php the_category( ', ' ); ?></span>
<?php // Print entry format if the post is not standard format. ?>
<?php if ( 'standard' != $format ) : ?>
<span class="entry-format"><a href="<?php echo esc_url( get_post_format_link( get_post_format() ) ); ?>" title="<?php echo esc_attr( sprintf( __( 'All %s posts', 'chunk' ), get_post_format_string( get_post_format() ) ) ); ?>"><?php echo esc_html( get_post_format_string( get_post_format() ) ); ?></a></span>
<?php endif; ?>
<?php edit_post_link( __( 'Edit', 'chunk' ), '<span class="edit-link">', '</span>' ); ?>
</div>
<div class="main">
<?php // Don't display post titles if the post is either aside or quote format. ?>
<?php if ( 'aside' != $format && 'quote' != $format ) : ?>
<h2 class="entry-title">
<?php if ( is_single() || is_page() ) : ?>
<?php the_title(); ?>
<?php else : ?>
<a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a>
<?php endif; ?>
</h2>
<?php endif; ?>
<div class="entry-content">
<?php wp_link_pages( array( 'before' => '<p class="page-link"><span>' . __( 'Pages:', 'chunk' ) . '</span>', 'after' => '</p>' ) ); ?>
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'chunk' ) ); ?>
</div>
<?php the_tags( '<span class="tag-links"><strong>' . __( 'Tagged', 'chunk' ) . '</strong> ', ', ', '</span>' ); ?>
</div>
</div>
<?php comments_template(); ?>