• File: content-search.php
  • Full Path: /home/havejqku/public_html/wp-admin/e0506b/wp-content/themes/tourio/content-search.php
  • Date Modified: 09/10/2025 7:10 PM
  • File size: 1.3 KB
  • MIME-type: text/x-php
  • Charset: utf-8
<?php 
global $post;
$thumbsize = !isset($args['thumbsize']) ? tourio_get_config( 'blog_item_thumbsize', 'full' ) : $args['thumbsize'];
$thumb = tourio_display_post_thumb($thumbsize);
?>
<article <?php post_class('post post-layout post-list-item'); ?>>
    <div class="d-sm-flex align-items-center">
        <?php
        if ( !empty($thumb) ) {
            ?>
            <div class="top-image flex-shrink-0">
                <?php
                    echo trim($thumb);
                ?>
             </div>
            <?php
        } ?>
        <div class="col-content flex-grow-1">
            <div class="d-flex">
                <?php tourio_post_categories_first($post); ?>
                <div class="date"><?php the_time( get_option('date_format', 'd M, Y') ); ?></div>
            </div>
            <?php if (get_the_title()) { ?>
                <h4 class="entry-title">
                    <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
                </h4>
            <?php } ?>
            <div class="description"><?php echo tourio_substring( get_the_excerpt(),19, '...' ); ?></div>
            <a class="btn btn-readmore d-none d-md-inline-block" href="<?php the_permalink(); ?>"><?php echo esc_html__('Read More','tourio') ?></a>
        </div>
    </div>
</article>