File: /home/mmickelson/martyknows.com/wp-content/themes/bueno/templates/format-image.php
<?php
/**
* The template part for displaying image post format.
*
* @package bueno
*/
?>
<?php if ( ! isset( $content_width ) )
$content_width = 900; /* pixels */
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('post__holder'); ?>>
<?php if(!is_singular()) : ?>
<?php echo bueno_post_format_image(); ?>
<?php else :?>
<div class="format_image_wrap">
<?php if ( function_exists('the_post_format_image') ) { ?>
<?php the_post_format_image( 'image_post_format' ); ?>
<?php } else { ?>
<?php echo bueno_post_format_image(); ?>
<?php } ?>
</div>
<?php endif; ?>
<header class="post-header">
<?php if(!is_singular()) : ?>
<?php if ( false != bueno_post_format_image() ) get_template_part('templates/post-meta'); ?>
<h3 class="post-title"><a href="<?php the_permalink(); ?>" title="<?php esc_attr_e('Permalink to:', 'bueno');?> <?php the_title(); ?>"><?php the_title(); ?></a></h3>
<?php else :?>
<h1 class="post-title"><?php the_title(); ?></h1>
<?php if ( false != bueno_post_format_image() ) get_template_part('templates/post-meta'); ?>
<?php endif; ?>
<?php
if ( false == bueno_post_format_image() ) get_template_part('templates/post-meta');
?>
</header>
<!-- Post Content -->
<div class="post_content">
<?php if(!is_singular()) : ?>
<!-- Post Content -->
<div class="post_content">
<?php if ( 'false' != of_get_option('post_excerpt')) { ?>
<div class="excerpt">
<?php
$excerpt = get_the_excerpt();
if (has_excerpt()) {
the_excerpt();
} else {
echo apply_filters( 'the_excerpt', bueno_string_limit_words($excerpt,20) );
}
?>
</div>
<?php } ?>
<?php if ( 'false' != of_get_option('post_button')) { ?>
<a href="<?php the_permalink() ?>" class="btn btn-small read-more-btn"><?php _e('Read more', 'bueno'); ?></a>
<?php } ?>
</div>
<?php else: ?>
<?php
if ( function_exists('the_remaining_content') ) {
the_remaining_content( __( 'Continue reading', 'bueno' ) );
} else {
the_content('');
}
?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'bueno' ), 'after' => '</div>' ) ); ?>
<?php endif; ?>
</div>
<?php if( ( has_tag() ) && ( is_singular() ) ) { ?>
<footer class="post-footer">
<i class="icon-tags"></i> <?php the_tags('Tags: ', ' ', ''); ?>
</footer>
<?php } ?>
<!-- //Post Content -->
</article><!--//.post__holder-->
<?php if ( is_single() && get_the_author_meta( 'description' ) ) {
get_template_part( 'templates/post-author-bio' );
} ?>