add righ colomn in 12-14 screens

This commit is contained in:
2025-06-21 15:37:29 +03:00
parent 5c4ceb4594
commit 3cb726055c
5 changed files with 22 additions and 8 deletions

View File

@@ -12,6 +12,7 @@
// Извлекаем параметры
$category = isset($args['category']) ? $args['category'] : 'rfo';
$title = isset($args['title']) ? $args['title'] : 'РФО';
$wrapper = isset($args['wrapper']) ? $args['wrapper'] : 'article-item-wrapper__rfo';
$style = isset($args['style']) ? $args['style'] : 0;
$posts_count = isset($args['posts_count']) ? $args['posts_count'] : 1;
?>
@@ -28,7 +29,7 @@ $posts_count = isset($args['posts_count']) ? $args['posts_count'] : 1;
if ($query->have_posts()) : ?>
<div class="article-item-wrapper__rfo">
<div class="<?=$wrapper?>">
<div class="land-cart-title">
<div class="land-cart-title__text"><?php echo esc_html($title); ?></div>
<div class="land-cart-title__arrow"></div>

View File

@@ -6,8 +6,9 @@
<?php get_template_part('rfo/category-end', null, [
'category' => 'opinion', // slug рубрики
'style' => '',
'title' => 'Интервью'
'wrapper' => 'article-interview-wrapper__rfo',
'style' => '',
'title' => 'Интервью'
]);?>
<?php get_template_part('rfo/category-end', null, [