REFACTOR Using the post card classes to extend card functionnalities

This commit is contained in:
Nonimart 2026-03-20 17:14:25 +01:00
parent 9a15512554
commit 374db271fb

View File

@ -13,7 +13,7 @@ $authors = get_field('authors', $ID);
?>
<a href="<?php echo $link; ?>" class="post-card post-card--article <?php echo $cover ? 'has-cover' : ''; ?>">
<a href="<?php echo $link; ?>" class="post-card post-card--article post-card--has-numerotation <?php echo $cover ? 'has-cover post-card--has-cover post-card--has-thumbnail' : ''; ?>">
<?php if ($cover) : ?>
<div class="post-card__cover">
@ -25,6 +25,7 @@ $authors = get_field('authors', $ID);
?>
</div>
<?php endif; ?>
<div class="post-card__content">
<div class="content-meta">
<span class="content-meta__type content-meta__type--article">Article</span>