add folder EN
This commit is contained in:
20
en/content-post-en.php
Normal file
20
en/content-post-en.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
$formatted_date = format_event_date();
|
||||
$full_width = $args['full_width'] ?? false;
|
||||
$class = $full_width ? 'article-item article-item--lg' : 'article-item';
|
||||
?>
|
||||
<div class="<?= $class; ?>">
|
||||
<a href="<?php the_permalink(); ?>" class="article-item__image-container">
|
||||
<?= show_post_image(); ?>
|
||||
<div class="tag article-item__tag"><?=get_priority_category_en(); ?></div>
|
||||
</a>
|
||||
<div class="article-item__text">
|
||||
<div class="article-time">
|
||||
<img src="<?= get_asset('/icons/time.svg'); ?>" alt="" /><?php echo get_published_date_in_english(); ?>
|
||||
</div>
|
||||
<a href="<?php the_permalink(); ?>" class="subtitle-16 article-item__link"><?php the_title(); ?></a>
|
||||
<? if ($full_width) : ?>
|
||||
<p class="article-item__descr text-13"><?php the_excerpt(); ?></p>
|
||||
<? endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user