File: //home/modernpainters.co.uk/public_html/wp-content/themes/honeypress/template-parts/content.php
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php
if ( has_category() ) :
echo '<div class="entry-meta">';
echo '<span class="cat-links">';
the_category( ' ' );
echo '</div>';
echo '</span>';
endif; ?>
<header class="entry-header">
<h2 class="entry-title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h2>
</header>
<div class="entry-meta mb-4">
<?php
$honeypress_meta_sort=get_theme_mod( 'honeypress_blog_meta_sort', array('blog_author','blog_date','blog_commment',) );
if ( ! empty( $honeypress_meta_sort ) && is_array( $honeypress_meta_sort ) ) :
foreach ( $honeypress_meta_sort as $honeypress_meta_sort_key => $honeypress_meta_sort_val ) :
if(get_theme_mod('honeypress_enable_blog_author',true)==true):
if ( 'blog_author' === $honeypress_meta_sort_val ) :?>
<span class="author">
<a <?php if(is_rtl()){echo 'dir="rtl"';} ?> href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>"><?php esc_html_e('By','honeypress');?> <?php echo esc_html(get_the_author());?></a>
</span>
<?php endif; endif;
if(get_theme_mod('honeypress_enable_blog_date',true)===true):
if ( 'blog_date' === $honeypress_meta_sort_val ) :?>
<span class="posted-on">
<a <?php if(is_rtl()){echo 'dir="rtl"';} ?> href="<?php echo esc_url( home_url('/') ); ?><?php echo esc_html(date( 'Y/m' , strtotime( get_the_date() )) ); ?>"><time><?php echo esc_html(get_the_date());?></time></a>
</span>
<?php endif; endif;
if(get_theme_mod('honeypress_enable_blog_comments',true)===true):
if ( 'blog_commment' === $honeypress_meta_sort_val ) :?>
<span class="comment-links">
<span class="comment-links"><a <?php if(is_rtl()){echo 'dir="rtl"';} ?> href="<?php the_permalink(); ?>#respond"><?php echo esc_html(get_comments_number());?></a></span>
</span>
<?php endif; endif;
endforeach;
endif; ?>
</div>
<?php if(has_post_thumbnail()):?>
<figure class="post-thumbnail mb-4">
<a href="<?php the_permalink();?>">
<?php the_post_thumbnail('full',array('class'=>'img-fluid'));?>
</a>
</figure>
<?php endif;?>
<div class="entry-content">
<?php honeypress_posted_content(); wp_link_pages( );
$honeypress_read_btn=get_theme_mod('honeypress_blog_content','excerpt');
if($honeypress_read_btn=="excerpt")
{
?>
<p><a href="<?php the_permalink();?>" class="more-link"><?php _e('Read more','honeypress'); ?></a></p>
<?php } ?>
</div>
</article>