Initial commit

This commit is contained in:
2024-03-01 17:47:03 +03:00
commit 10722da013
227 changed files with 13356 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
$posts = get_post_query('post', 1, 'ASC', '', 'interviews');
if ($posts->have_posts()) :
while ($posts->have_posts()) :
$posts->the_post();
?>
<div class="content-videos">
<a href="<?= get_permalink(); ?>">
<div class="item-video">
<div class="item-video__video-wrapper">
<?= show_post_image(); ?>
<button class="item-video__button subtitle-20">
<img src="<?= get_asset('icons/play.svg'); ?>" alt="" /> Интервью
</button>
</div>
<a href="<?= get_permalink(); ?>" class="subtitle-16 item-video__name"><?= get_the_title(); ?></a>
</div>
</a>
</div>
<?php
endwhile;
wp_reset_postdata();
else : ?>
<p>Интервью не найдено.</p>
<?php
endif;
?>