%k25u25%fgd5n!
<?php
$options = Fauxis_WSH()->option();
$allowed_html = wp_kses_allowed_html();
/**
* Blog Content Template
*
* @package WordPress
* @subpackage FAUXIS
* @author Template Path
* @version 1.0
*/
if ( class_exists( 'Fauxis_Resizer' ) ) {
$img_obj = new Fauxis_Resizer();
} else {
$img_obj = array();
}
$allowed_tags = wp_kses_allowed_html('post');
global $post;
?>
<div <?php post_class(); ?>>
<div class="news-block-two">
<div class="inner-box">
<figure class="image-box">
<?php the_post_thumbnail(); ?>
</figure>
<div class="lower-content">
<div class="inner">
<ul class="post-info clearfix">
<?php if($options->get('blog_post_author' ) ): ?>
<li><i class="icon-user"></i><a href="<?php echo esc_url(get_author_posts_url( get_the_author_meta('ID') )); ?>"><?php the_author(); ?></a></li>
<?php endif; ?>
<?php if($options->get('blog_post_date' ) ): ?>
<li><i class="icon-calendar_blog"></i><a href="<?php echo get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) ); ?>"><?php echo get_the_date(); ?></a></li>
<?php endif; ?>
<?php if($options->get('blog_post_catgory' ) ): ?>
<li><i class="icon-folder"></i><?php the_category(', '); ?></li>
<?php endif; ?>
</ul>
<h2><a href="<?php echo esc_url( the_permalink( get_the_id() ) );?>"><?php the_title(); ?></a></h2>
<?php the_excerpt(); ?>
<?php if($options->get('blog_post_readmore' ) ): ?>
<?php if($options->get('blog_post_readmoretext' ) ): ?>
<div class="btn-box"><a href="<?php echo esc_url( the_permalink( get_the_id() ) );?>" class="theme-btn-one"><?php echo wp_kses( $options->get( 'blog_post_readmoretext'), $allowed_html ); ?></a></div>
<?php else: ?>
<div class="btn-box"><a href="<?php echo esc_url( the_permalink( get_the_id() ) );?>" class="theme-btn-one"><?php esc_html_e('Read More', 'fauxis'); ?></a></div>
<?php endif; ?>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>