correct template interview

This commit is contained in:
argoexpert press
2025-05-13 00:12:41 +03:00
parent fdaa02c861
commit 7310801599
3 changed files with 18 additions and 7 deletions

View File

@@ -11,8 +11,15 @@
<?php endif; ?>
<?php get_template_part('partials/latest-interview-post'); ?>
<?php
if ( in_category('interviews') ) {
echo '<div class="desktop">';
get_template_part('partials/latest-interview-post');
echo '</div>';
} else {
get_template_part('partials/latest-interview-post');
}
?>
<?php if (is_front_page()) : ?>
<div class="most-read mobile">
<div class="most-read__inner">