REFACTOR Using a dedicated numerotation function

This commit is contained in:
Antoine M 2026-03-20 16:58:27 +01:00
parent 965f097507
commit b6bf2de725

View File

@ -27,7 +27,11 @@ if ($current_post_type_supports_type) {
<?php if ($hasNumerotation) : ?>
<?php
$numerotation = get_post_meta($current_post_id, 'post_numerotation', true); ?>
$numerotation = get_current_post_numerotation($current_post_id);
?>
<p class="content-meta__revue-issue content-meta__revue-issue--green">
<span class="revue-issue-number revue-meta__label sr-only">Numéro</span>
<?php echo $numerotation; ?>