HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/www/wp-content/themes/consulting/vc_templates/stm_news/style_6.php
<?php
if( empty( $img_size ) ) {
    $img_size = '720x500';
}
?>
<li class="view_style_6">
    <div class="post-item">
        <?php if( has_post_thumbnail() ): ?>
            <div class="img-wrap">
                <a href="<?php the_permalink(); ?>">
                    <?php echo consulting_get_image( get_post_thumbnail_id(), $img_size ); ?>
                </a>
                <div class="date-wrap third_bg_color">
                    <?php echo get_the_date(); ?>
                </div>
            </div>
        <?php endif; ?>
        <div class="post-info">
            <div class="post-title">
                <h4>
                    <a href="<?php the_permalink(); ?>" class="third_font_color_hv">
                        <?php the_title(); ?>
                    </a>
                </h4>
            </div>
            <?php if( has_excerpt() ): ?>
                <div class="post-excerpt">
                    <?php echo get_the_excerpt(); ?>
                </div>
            <?php endif; ?>
        </div>
    </div>
</li>