File: /var/www/html/amopropiedades.com/wp-content/themes/houzez/content-grid-1.php
<?php
/**
* The default template for displaying content
*
* Used for both single and index/archive/search.
*
* @package WordPress
* @subpackage Houzez
* @since Houzez 1.0
*/
global $houzez_local, $ele_settings;
$blog_date = houzez_option('blog_date');
$blog_author = houzez_option('blog_author');
$show_author = isset($ele_settings['show_author']) ? $ele_settings['show_author'] : $blog_author;
$show_date = isset($ele_settings['show_date']) ? $ele_settings['show_date'] : $blog_date;
$show_cat = isset($ele_settings['show_cat']) ? $ele_settings['show_cat'] : true;
$post_thumb_size = isset($ele_settings['post_thumb_size']) ? $ele_settings['post_thumb_size'] : 'houzez-item-image-1';
?>
<div id="post-<?php the_ID(); ?>" <?php post_class('blog-post-item blog-post-item-v1'); ?>>
<?php if(has_post_thumbnail()) { ?>
<div class="blog-post-thumb">
<a href="<?php the_permalink(); ?>" class="hover-effect">
<?php the_post_thumbnail($post_thumb_size, array('class' => 'img-fluid')); ?>
</a>
</div><!-- blog-post-thumb -->
<?php } ?>
<div class="blog-post-content-wrap">
<div class="blog-post-meta">
<ul class="list-inline">
<?php if( $show_date ) { ?>
<li class="list-inline-item">
<time datetime="<?php esc_attr( the_time( get_option( 'date_format' ) ));?>"><i class="houzez-icon icon-calendar-3 mr-1"></i> <?php esc_attr( the_time( get_option( 'date_format' ) ));?></time>
</li>
<?php } ?>
<?php if( $show_cat ) { ?>
<li class="list-inline-item">
<i class="houzez-icon icon-tags mr-1"></i> <?php the_category(', '); ?>
</li>
<?php } ?>
</ul>
</div><!-- blog-post-meta -->
<div class="blog-post-title">
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
</div><!-- blog-post-title -->
<div class="blog-post-body">
<?php echo houzez_clean_excerpt( '100', 'false' ); ?>
</div><!-- blog-post-body -->
<div class="blog-post-link">
<a href="<?php the_permalink(); ?>"><?php echo $houzez_local['continue_reading']; ?></a>
</div><!-- blog-post-link -->
</div><!-- blog-post-content-wrap -->
<?php if( $show_author ) { ?>
<div class="blog-post-author">
<i class="houzez-icon icon-single-neutral mr-1"></i> <?php echo $houzez_local['by_text']; ?> <?php the_author(); ?>
</div>
<?php } ?>
</div><!-- blog-post-item -->