diff --git a/template-parts/authors/authors-list.php b/template-parts/authors/authors-list.php index 404a4f2..e71e6ab 100644 --- a/template-parts/authors/authors-list.php +++ b/template-parts/authors/authors-list.php @@ -2,7 +2,7 @@ $postId = $args['postId']; $isArticle = is_singular('articles'); $componentTitle = $isArticle ? 'Auteur·e·s de l\'article' : 'Auteur·e·s de la revue'; -$articleTitle = get_the_title($postId); + $authors = []; if ($isArticle) { @@ -16,9 +16,7 @@ if (empty($authors)) return; ?>

- -

- +