FEATURE Introducing component
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2026-03-24 15:25:53 +01:00
parent e98f1b71ef
commit d292fdd51b

View File

@ -0,0 +1,19 @@
<?php
$post_ID = $args['ID'] ?? get_the_ID();
$post_parution_date = get_the_date('F Y', $post_ID);
$post_updated_date = get_post_meta(get_the_ID(), 'article_modification_date', true);
?>
<div class="post-informations">
<h3 class="content-tab__title">Informations</h3>
<div class="issue-informations">
<?php if ($post_parution_date) : ?>
<div class="issue-parution-date">
<h5 class="issue-parution-date__label title-small">Parution</h5>
<time class="issue-parution-date__value" datetime="<?php echo $post_parution_date; ?>"><?php echo $post_parution_date ?></time>
</div>
<?php endif; ?>
</div>
</div>