File: /home/zwafgyp/coolswim/wp-content/themes/liftsupply/content-image.php
<?php
/**
* The template for displaying posts in the Image post format
*
* @package WpOpal
* @subpackage Liftsupply
* @since Liftsupply 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="post-preview">
<?php liftsupply_fnc_post_thumbnail(); ?>
<span class="post-format">
<a class="entry-format" href="<?php echo esc_url( get_post_format_link( 'image' ) ); ?>"><i class="fa fa-picture-o"></i></a>
</span>
</div>
<header class="entry-header">
<?php if ( in_array( 'category', get_object_taxonomies( get_post_type() ) ) && liftsupply_fnc_categorized_blog() ) : ?>
<?php
endif;
if ( is_single() ) :
the_title( '<h1 class="entry-title">', '</h1>' );
else :
the_title( '<h3 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h3>' );
endif;
?>
<div class="entry-meta">
<div class="entry-date pull-left">
<span><?php the_time( 'd' ); ?></span> <?php the_time( 'M' ); ?>
</div>
<span class="author pull-left"><?php esc_html_e('by', 'liftsupply'); the_author_posts_link(); ?></span>
<div class="entry-category pull-left">
<?php esc_html_e('in', 'liftsupply'); the_category(); ?>
</div>
<?php if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) : ?>
<span class="comments-link pull-left"><span class="fa fa-comment-o"></span> <?php comments_popup_link( esc_html__( 'Leave a comment', 'liftsupply' ), esc_html__( '1 Comment', 'liftsupply' ), esc_html__( '% Comments', 'liftsupply' ) ); ?></span>
<?php endif; ?>
<?php edit_post_link( esc_html__( 'Edit', 'liftsupply' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
<div class="entry-content">
<?php
/* translators: %s: Name of current post */
if(is_single()){
the_content( sprintf(
esc_html__( 'Continue reading %s', 'liftsupply').'<span class="meta-nav">→</span>',
the_title( '<span class="screen-reader-text">', '</span>', false )
) );
}else{
the_excerpt();
}
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'liftsupply' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) );
?>
</div><!-- .entry-content -->
<?php the_tags( '<footer class="entry-meta"><span class="tag-links">', '', '</span></footer>' ); ?>
</article><!-- #post-## -->