File: /storage/v6964/iskcon/public_html/wp-content/themes/tow-temple/template-parts/content.php
<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package tow
*/
?>
<div class="blog_dt1">
<div class="grid clearfix">
<figure class="effect-jazz mb-0">
<?php the_post_thumbnail('tow-750x500'); ?>
</figure>
</div>
<ul class="font_14 mt-3">
<li class="d-inline-block"><i class="fa fa-om col_oran me-1"></i> <?php print esc_html( get_the_author() ); ?></li>
<li class="d-inline-block mx-2 text-muted">|</li>
<li class="d-inline-block font_13"><i class="fa fa-calendar col_oran me-1"></i> <?php tow_theme_posted_on(); ?></li>
<li class="d-inline-block mx-2 text-muted">|</li>
<li class="d-inline-block font_13"><i class="fa fa-comment col_oran me-1"></i>
<?php
$comment_num = get_comments_number($post->ID);
echo esc_html($comment_num);
if ( 0 == $comment_num ) {
esc_html_e(' Comments','tow');
} elseif ( 1 == $comment_num ) {
esc_html_e(' Comment','tow');
} else {
esc_html_e(' Comments','tow');
}
?>
</li>
</ul>
<?php
the_content(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Continue reading
<span class="screen-reader-text"> "%s"</span>', 'tow' ),
array(
'span' => array(
'class' => array(),
),
)
),
wp_kses_post( get_the_title() )
)
);
?>
<div class="blog_1dt2i row">
<div class="col-md-7">
<div class="blog_1dt2il">
<?php tow_theme_category(); ?>
</div>
</div>
<div class="col-md-5">
<div class="blog_1dt2ir mt-1 text-end">
<ul class="mb-0">
<li class="d-inline-block"><a href="blog_detail.html">Share On:</a></li>
<li class="d-inline-block ms-3"><a href="blog_detail.html"><i class="fa-brands fa-facebook"></i></a></li>
<li class="d-inline-block ms-3"><a href="blog_detail.html"><i class="fa-brands fa-twitter"></i></a></li>
<li class="d-inline-block ms-3"><a href="blog_detail.html"><i class="fa-brands fa-pinterest"></i></a></li>
<li class="d-inline-block ms-3"><a href="blog_detail.html"><i class="fa-brands fa-instagram"></i></a></li>
</ul>
</div>
</div>
</div>
</div><hr>
<div class="blog_dt2 pt-3 pb-3">
<div class="blog_dt2i row">
<div class="col-md-6">
<div class="blog_dt2il">
<?php previous_post_link( '<h5 class="col_oran">Previous Post</h5><h5 class="mb-0 fs-6">%link</h5>' ); ?>
</div>
</div>
<div class="col-md-6">
<div class="blog_dt2il text-end">
<?php next_post_link( '<h5 class="col_oran">Next Post</h5><h5 class="mb-0 fs-6">%link</h5>' ); ?>
</div>
</div>
</div>
</div><hr>