add files

This commit is contained in:
2026-01-08 20:53:00 +03:00
commit a1393e8b13
19 changed files with 970 additions and 0 deletions

27
category.php Normal file
View File

@@ -0,0 +1,27 @@
<?php get_header(); ?>
<main class="main">
<div class="maintitle">
<h1><?php single_cat_title(); ?></h1>
<div class="h-telega"><a href="https://t.me/sportpressa" target="_blank">@sportpressa</a></div>
<?php if (category_description()) : ?>
<div class="category-description">
<?php echo category_description(); ?>
</div>
<?php endif; ?>
</div>
<?php get_template_part('template-parts/content', 'cards'); ?>
<?php
// Пагинация
the_posts_pagination(array(
'mid_size' => 2,
'prev_text' => '&laquo; Предыдущая',
'next_text' => 'Следующая &raquo;',
));
?>
</main>
<?php get_sidebar(); ?>
<?php get_footer(); ?>