add interview styles
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user