add folder EN

This commit is contained in:
argoexpert press
2024-05-24 21:37:57 +03:00
parent 4fa7a19433
commit 009f8e40c2
22 changed files with 732 additions and 80 deletions

25
en/pinned-post-mob-en.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
$pinned_post = get_latest_sticky_post_by_category(740);
if ($pinned_post):
$mainpost_id = $pinned_post->ID;
?>
<div class="maintitle-mob">Top</div>
<div class="article-item__text article-item-mob">
<a href="<?php echo get_permalink($pinned_post->ID); ?>" class="article-item__image-container">
<?=show_post_image( $pinned_post->ID ); ?>
<div class="tag article-item__tag"><?=esc_html( get_priority_category_en($pinned_post->ID) );?></div>
</a>
<div class="article-item__text">
<a href="<?php echo get_permalink($pinned_post->ID); ?>" class="subtitle-16 article-item__link"><?php echo get_the_title($pinned_post->ID); ?></a>
<p class="article-item__descr text-13"><?php echo get_the_excerpt($pinned_post->ID); ?></p>
</div>
</div>
<?php endif; ?>