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

34
category-partners.php Normal file
View File

@@ -0,0 +1,34 @@
<?php
$partners = get_post_query('post', 10, 'ASC', '', 'partners');
?>
<?php get_header(); ?>
<div class="content-middle articles-wrapper">
<?php get_template_part('partials/rubrics-mobile'); ?>
<div class="section-title">
<h1 class="section-title__title"><?= get_queried_object()->name ?></h1>
</div>
<div class="articles-preview">
<?
if ($partners->have_posts()) :
while ($partners->have_posts()) :
$partners->the_post();
?>
<a href="<?= get_permalink(); ?>" class="partner-item">
<div class="partner-item__image-container">
<?= show_post_image(); ?>
</div>
<div class="partner-item__text-container">
<p class="subtitle-16"><?= get_the_title(); ?></p>
</div>
</a>
<?php
endwhile;
endif;
?>
</div>
<? custom_pagination($partners); ?>
</div>
<?php
get_footer(); ?>