REFACTOR Using a dedicated numerotation function
This commit is contained in:
parent
965f097507
commit
b6bf2de725
|
|
@ -27,7 +27,11 @@ if ($current_post_type_supports_type) {
|
||||||
|
|
||||||
<?php if ($hasNumerotation) : ?>
|
<?php if ($hasNumerotation) : ?>
|
||||||
<?php
|
<?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">
|
<p class="content-meta__revue-issue content-meta__revue-issue--green">
|
||||||
<span class="revue-issue-number revue-meta__label sr-only">Numéro</span>
|
<span class="revue-issue-number revue-meta__label sr-only">Numéro</span>
|
||||||
<?php echo $numerotation; ?>
|
<?php echo $numerotation; ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user