add readated in pages

This commit is contained in:
argoexpert press
2026-03-05 22:37:13 +03:00
parent f99899e53e
commit 6c1bf9cbf3
27 changed files with 279 additions and 113 deletions

View File

@@ -16,6 +16,9 @@ Template Name: Шаблон страницы о проекте
<div class="about">
<?= get_template_part('content-about')?>
</div>
<?php get_template_part('partials/related-posts', '', array('posts_per_page' => 8) ); ?>
<a href="<?= home_url()?>" class="articles-preview__show-next subsctiption-back">На главную</a>
<div class="grid">
<div class="grid__item"></div>

View File

@@ -20,6 +20,7 @@ $advertisers = new WP_Query([
</div>
<div class="articles-preview">
<? get_template_part('content-advertiser', null, ['advertiser' => $advertisers]) ?>
<?php get_template_part('partials/related-posts', '', array('posts_per_page' => 8) ); ?>
</div>
<a href="<?= home_url() ?>" class="articles-preview__show-next">На главную</a>
<div class="articles__spacer-container">

View File

@@ -44,7 +44,9 @@ Template Name: Шаблон страницы контакты
<p class="text-11"><p>Нажимая на кнопку «Отправить», Вы соглашаетесь на обработку персональных данных в<br>
соответствии с <a class="contacts__policy text-11" href="/wp-content/uploads/2024/02/politika-konfedenczialnosti.pdf">«Политикой конфиденциальности»</a></p></p>
</div>
<?php get_template_part('partials/related-posts', '', array('posts_per_page' => 8) ); ?>
</div>
<a href="<?= home_url() ?>" class="articles-preview__show-next">На главную</a>
<div class="articles__spacer-container">
<div class="articles__spacer"></div>