add styles interview
This commit is contained in:
41
content-short-rfo.php
Normal file
41
content-short-rfo.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
$formatted_date = format_event_date();
|
||||
|
||||
//$class = $full_width ? 'article-item-main__rfo' : 'article-item-rfo';
|
||||
$class = isset($args['class']) ? $args['class'] : 'article-item-rfo';
|
||||
$title = isset($args['title']) ? $args['title'] : '';
|
||||
$has_video = isset($args['has_video']) ? $args['has_video'] : false;
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<div class="article-item-wrapper__rfo">
|
||||
|
||||
<?if ( $title !== ''):?>
|
||||
<div class="land-cart-title">
|
||||
<div class="land-cart-title__text">
|
||||
<?if ( isset($args['title_link']) ):?>
|
||||
<a href="<?=$args['title_link']?>"><?php echo esc_html($title); ?></a>
|
||||
<?else:?>
|
||||
<?php echo esc_html($title); ?>
|
||||
<?endif?>
|
||||
</div>
|
||||
<div class="land-cart-title__arrow"></div>
|
||||
</div>
|
||||
<?endif?>
|
||||
|
||||
<div class="rfo-stack">
|
||||
<div class="rfo-svg-bg"></div>
|
||||
<div class="rfo-stack-img has-video">
|
||||
<a href="<?php the_permalink(); ?>">
|
||||
<?= render_webp_picture_by_post(null, 'news-list-picture'); ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user