Compare commits
2 Commits
c4e8479b26
...
3d0771f5fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d0771f5fd | ||
|
|
2c08303099 |
|
|
@ -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)) {
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,12 @@ $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'); ?>
|
||||||
|
|
||||||
|
|
@ -40,15 +46,8 @@ $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">
|
||||||
|
|
@ -74,7 +73,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' => $revueID
|
'revueID' => get_the_ID()
|
||||||
)); ?>
|
)); ?>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user