FEAT Introducing component
This commit is contained in:
parent
368111e1b9
commit
7671fc7a7e
19
template-parts/authors/revue-authors-list.php
Normal file
19
template-parts/authors/revue-authors-list.php
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?php
|
||||||
|
$revueID = $args['revueID'];
|
||||||
|
$authors = getRevueAuthors($revueID);
|
||||||
|
|
||||||
|
|
||||||
|
?>
|
||||||
|
|
||||||
|
<section class="revue-authors-list">
|
||||||
|
<h3 class="revue-authors-list__title">Auteur·e·s de la revue</h3>
|
||||||
|
<?php foreach ($authors as $authorID) : ?>
|
||||||
|
<?php get_template_part(
|
||||||
|
'template-parts/authors/card-author',
|
||||||
|
null,
|
||||||
|
array(
|
||||||
|
'ID' => $authorID,
|
||||||
|
)
|
||||||
|
); ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</section>
|
||||||
Loading…
Reference in New Issue
Block a user