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

21
category-events.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
get_header(); ?>
<?
$posts = get_post_query('post', 10,'ASC', '', get_queried_object()->slug);
?>
<div class="content-middle articles-wrapper">
<?php get_template_part('partials/rubrics-mobile'); ?>
<div class="section-title border-top">
<h1 class="section-title__title"><?= get_queried_object()->name ?></h1>
</div>
<div class="articles-preview">
<? get_template_part('content-category-events-post', null, ['posts' => $posts, 'category'=> get_queried_object()->term_id])?>
</div>
<?php custom_pagination($posts); ?>
<a href="<?= home_url(); ?>" class="articles-preview__show-next">На главную</a>
</div>
<?php
get_footer(); ?>