Initial commit
This commit is contained in:
27
templates/advertisers.php
Normal file
27
templates/advertisers.php
Normal 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(); ?>
|
||||
Reference in New Issue
Block a user