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

17
content-preview-small.php Normal file
View File

@@ -0,0 +1,17 @@
<?php
//
$cat = get_post_primary_category(get_the_ID());
$cat = $cat['primary_category'];
?>
<div class="row">
<div class="col-12 col-md-4">
<a class="partners__item d-flex d-lg-block" href="<?php echo get_permalink(); ?>">
<span class="partners__frame">
<img loading="lazy" class="d-block lazyload" <?php if(wp_is_mobile()): ?>src="<?= get_template_directory_uri() ?>/assets/img/Profile_lazyload_m.webp"<?php else: ?>src="<?= get_template_directory_uri() ?>/assets/img/Profile_lazyload.jpg"<?php endif; ?> data-src="<?php echo get_the_post_thumbnail_url($post,'medium'); ?>" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" />
</span>
<strong class="partners__item__title"><?php the_title(); ?></strong>
</a>
</div>
</div>
<!--preview-small-->