%PDF- %PDF-
| Direktori : /home/opti/www/stlc/wp-content/themes/insur/template-parts/ |
| Current File : /home/opti/www/stlc/wp-content/themes/insur/template-parts/content-index.php |
<?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package insur
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class('news-sideabr__content'); ?>>
<!--Blog Sidebar Single-->
<div class="news-sideabr__single">
<?php insur_post_thumbnail(); ?>
<div class="news-sideabr__content-box">
<ul class="list-unstyled news-sideabr__meta ml-0">
<li><?php insur_posted_by(); ?></li>
<li><?php insur_posted_on(); ?></li>
<?php if (!is_single() && !post_password_required() && (comments_open() || get_comments_number())) : ?>
<li><?php insur_comment_count(); ?></li>
<?php endif; ?>
</ul>
<h3 class="news-sideabr__title">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
</h3>
<?php $insur_excerpt_count = apply_filters('insur_excerpt_count', 41); ?>
<p class="news-sideabr__text"><?php insur_excerpt($insur_excerpt_count); ?></p>
<div class="news-sideabr__bottom-btn-box">
<a href="<?php the_permalink(); ?>" class="news-sideabr__btn thm-btn"><?php esc_html_e('Read More', 'insur') ?></a>
</div>
</div>
</div>
<!--Blog Sidebar Single-->
</article><!-- #post-<?php the_ID(); ?> -->