add interview styles

This commit is contained in:
2025-06-22 14:09:09 +03:00
parent 3cb726055c
commit 86687a1832
8 changed files with 202 additions and 63 deletions

View File

@@ -7,6 +7,9 @@
if ($current_category->name !== 'РФО') {
get_template_part( 'rfo/breadcrumbs-rfo' );
}
$has_video = ($current_category->slug === 'opinion') ? true : false;
?>
<div class="rfo__rubric"><?=$current_category->name; ?></div>
@@ -47,7 +50,7 @@ if ($current_category->name !== 'РФО') {
$query = new WP_Query($args);
?>
<?php get_template_part('rfo/post-list', null, ['query' => $query]); ?>
<?php get_template_part('rfo/post-list', null, ['query' => $query , 'has_video' => $has_video]); ?>
</div>
<?php custom_pagination( null, 'pagination pagination__rfo' ); ?>
</div>