FEAT Introducing component

This commit is contained in:
Nonimart 2025-06-12 08:54:08 +02:00
parent 368111e1b9
commit 7671fc7a7e

View 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>