FIX conditionnal display if coordination authors has value
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
53e280383e
commit
0c8334e4c1
|
|
@ -39,6 +39,7 @@ $coordinations_authors = get_field('coordinations_authors', $revueID);
|
||||||
<h3 class="content-tab__title">Coordination du Numéro</h3>
|
<h3 class="content-tab__title">Coordination du Numéro</h3>
|
||||||
|
|
||||||
<div class="coordination-numero__content">
|
<div class="coordination-numero__content">
|
||||||
|
<?php if ($coordinations_authors) : ?>
|
||||||
<?php foreach ($coordinations_authors as $author) : ?>
|
<?php foreach ($coordinations_authors as $author) : ?>
|
||||||
<?php get_template_part(
|
<?php get_template_part(
|
||||||
'template-parts/authors/card-author',
|
'template-parts/authors/card-author',
|
||||||
|
|
@ -49,6 +50,7 @@ $coordinations_authors = get_field('coordinations_authors', $revueID);
|
||||||
); ?>
|
); ?>
|
||||||
|
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user