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