add files

This commit is contained in:
Andrey Kuvshinov
2025-07-09 21:21:17 +03:00
commit 8fc8cbae32
596 changed files with 207566 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
<!--[archive/list-item]-->
<?php global $wp_query; ?>
<div class="newslist__item">
<?php //get_template_part("template-parts/micro/post"); ?>
<div class="d-flex">
<?php if ( has_post_thumbnail() && show_post_thumbnail() ) : ?>
<a class="newslist__frame" href="<?= the_permalink() ?>">
<img loading="lazy"
src="<?= the_post_thumbnail_url("thumb-320"); ?>"
alt="<?= htmlspecialchars( get_the_title() ) ?>"
width="224"
height="138" />
</a>
<?php endif; ?>
<div>
<div class="newslist__body">
<h2 class="newslist__title" style="font-weight:700">
<a href="<?= the_permalink() ?>">
<?= the_title() ?>
</a>
</h2>
<a href="<?= the_permalink() ?>" class="d-none d-md-block mb-4">
<?= get_first_paragraph() ?>
</a>
</div>
<div class="publication__data">
<?php get_template_part("template-parts/post/list-item-date") ?>
<?php get_template_part("template-parts/post/list-item-author") ?>
</div>
</div>
</div>
</div>
<!--[/archive/list-item]-->