correct template interview
This commit is contained in:
@@ -59,6 +59,5 @@
|
||||
|
||||
|
||||
</div>
|
||||
<?php custom_pagination(); ?>
|
||||
</div>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
@@ -52,14 +52,19 @@
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
|
||||
.mobile {
|
||||
display: inherit !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.desktop {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.mobile {
|
||||
display: inherit !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1300px) {
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user