Compare commits
No commits in common. "cf7f7bb7502fa060353735f8678c3c2c832d2754" and "ecfcc43211bf5cab0cd3e88b49c65867c5813f8c" have entirely different histories.
cf7f7bb750
...
ecfcc43211
|
|
@ -1,7 +1,6 @@
|
|||
.block-dernieres-dynamiques {
|
||||
@apply bg-primary text-white pt-20 px-4 md:px-12;
|
||||
/* overflow: visible !important; */
|
||||
overflow: hidden !important;
|
||||
overflow: visible !important;
|
||||
|
||||
&__inner {
|
||||
@apply max-w-screen-2xl mx-auto;
|
||||
|
|
|
|||
|
|
@ -1,35 +0,0 @@
|
|||
<?php
|
||||
$articleID = $args['ID'];
|
||||
$isSwiperSlide = $args['isSwiperSlide'];
|
||||
|
||||
?>
|
||||
|
||||
<div class="article-card <?php echo $isSwiperSlide ? 'swiper-slide' : ''; ?>">
|
||||
<div class="content-meta">
|
||||
<span class="content-meta__type content-meta__type--article">Article</span>
|
||||
</div>
|
||||
|
||||
<a href="<?php echo get_the_permalink($articleID); ?>" class="article-card__link">
|
||||
|
||||
<h4 class="article-card__title"><?php echo get_the_title($articleID); ?></h4>
|
||||
</a>
|
||||
|
||||
<ul class="article-card__tags">
|
||||
<?php
|
||||
$terms = get_the_terms($articleID, 'etiquettes');
|
||||
if ($terms): ?>
|
||||
<?php foreach ($terms as $term): ?>
|
||||
<li class="article-card__tag article-tag"><?php echo esc_html($term->name); ?></li>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</ul>
|
||||
|
||||
<?php get_template_part('template-parts/components/cta--go', null, array(
|
||||
'url' => get_the_permalink($articleID),
|
||||
'label' => 'Lire la revue lol',
|
||||
'target' => '_self',
|
||||
)); ?>
|
||||
|
||||
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user