19 lines
642 B
PHP
19 lines
642 B
PHP
<?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>
|