Compare commits

..

No commits in common. "3d0771f5fdcf57f97ff75a86fec2c2bac736a950" and "c4e8479b26379de53292261c1f8123e55841dd3c" have entirely different histories.

2 changed files with 9 additions and 8 deletions

View File

@ -150,7 +150,7 @@ function build_footnotes_index_from_content($content)
if ($has_footnotes) { if ($has_footnotes) {
foreach ($matches as $index => $match) { foreach ($matches as $index => $match) {
write_log($match);
// Le contenu peut être dans match[1] ou match[2] selon l'ordre des attributs // Le contenu peut être dans match[1] ou match[2] selon l'ordre des attributs
$footnote_content = !empty($match[1]) ? $match[1] : $match[2]; $footnote_content = !empty($match[1]) ? $match[1] : $match[2];
if (!empty($footnote_content)) { if (!empty($footnote_content)) {

View File

@ -10,12 +10,6 @@ $articles = get_field('articles', $current_issue->ID);
<div class="page--single-revue" data-revue-id="<?php echo get_the_ID(); ?>"> <div class="page--single-revue" data-revue-id="<?php echo get_the_ID(); ?>">
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?> <?php while (have_posts()) : the_post(); ?>
<?php
$issue_number = get_field('issue_number', $current_issue->ID);
?>
<?php get_template_part('template-parts/post-header'); ?> <?php get_template_part('template-parts/post-header'); ?>
<?php get_template_part('template-parts/revues/revue-toolbar'); ?> <?php get_template_part('template-parts/revues/revue-toolbar'); ?>
@ -46,8 +40,15 @@ $articles = get_field('articles', $current_issue->ID);
</div> </div>
<div class="content-area"> <div class="content-area">
<div class="authors">
<!-- <button class="authors-button">get Auteurs</button> -->
<div class="authors-list">
</div>
</div>
<details class="edito" open="true"> <details class="edito" open="true">
<summary> <summary>
<h2 class="edito__title"> <h2 class="edito__title">
@ -73,7 +74,7 @@ $articles = get_field('articles', $current_issue->ID);
)); ?> )); ?>
<?php get_template_part('template-parts/articles/article-informations', null, array( <?php get_template_part('template-parts/articles/article-informations', null, array(
'revueID' => get_the_ID() 'revueID' => $revueID
)); ?> )); ?>