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

27
templates/advertisers.php Normal file
View File

@@ -0,0 +1,27 @@
<?php
/*
Template Name: Шаблон страницы рекламодателей
*/
$advertisers = get_post_query('advertiser', 10, 'ASC', '');
?>
<?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"><?= the_title() ?></h1>
</div>
<div class="articles-preview">
<? get_template_part('content-advertiser', null, ['advertiser' => $advertisers])?>
</div>
<a href="<?= home_url()?>" class="articles-preview__show-next">На главную</a>
<div class="articles__spacer-container">
<div class="articles__spacer"></div>
<div class="articles__spacer"></div>
</div>
</div>
<?php
get_footer(); ?>