Compare commits

..

No commits in common. "bef7895cba4949dad435b0b58cab6e478cef0e13" and "7f419e009a4d574bbd1745b7f6f396dc0685b09a" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -23,8 +23,7 @@
transition: all 0.3s ease-out; transition: all 0.3s ease-out;
@media (max-width: 599px) { @media (max-width: 599px) {
/* padding-top: 100px; */ padding-top: 100px;
/* background-color: yellow !important; */
order: 3; order: 3;
} }

View File

@ -30,7 +30,7 @@ $media_types_list = array(
?> ?>
<a class="post-card post-card--archives-presse <?php echo $has_post_thumbnail ? 'post-card--has-thumbnail' : ''; ?> card" href="<?php echo $link; ?> " target="_blank"> <a class="post-card post-card--archives-presse <?php $has_post_thumbnail ? 'post-card--has-thumbnail' : ''; ?> card" href="<?php echo $link; ?> " target="_blank">
<?php if ($has_post_thumbnail) : ?> <?php if ($has_post_thumbnail) : ?>
<div class="post-card__thumbnail"> <div class="post-card__thumbnail">
<img src="<?php echo $thumbnail_url; ?>" alt="<?php echo $title; ?>"> <img src="<?php echo $thumbnail_url; ?>" alt="<?php echo $title; ?>">
@ -82,7 +82,7 @@ $media_types_list = array(
<?php <?php
$amount = $media_type['amount']; $amount = $media_type['amount'];
$media_type = $media_type['acf_fc_layout']; $media_type = $media_type['acf_fc_layout'];
if (!$amount || !$media_type) continue; if (!$amount || !$media_type) continue;
?> ?>
<li class="media-type media-type--<?php echo esc_attr($media_type); ?>"><?php echo $amount . ' ' . ($media_types_list[$media_type] ?? $media_type) . ($amount > 1 ? 's' : ''); ?></li> <li class="media-type media-type--<?php echo esc_attr($media_type); ?>"><?php echo $amount . ' ' . ($media_types_list[$media_type] ?? $media_type) . ($amount > 1 ? 's' : ''); ?></li>