From 4201c8d86b00a0627b76dafedff686d72912b593 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 24 Feb 2026 15:09:14 +0100 Subject: [PATCH] FEATURE Introducing the handling for the single authors --- single-auteurs.php | 151 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create mode 100644 single-auteurs.php diff --git a/single-auteurs.php b/single-auteurs.php new file mode 100644 index 0000000..ec62d24 --- /dev/null +++ b/single-auteurs.php @@ -0,0 +1,151 @@ + + + +
+ + + +
+ +
+
+
+ + <?php echo $profilePictureAlt; ?> + +
+ +
+ +
+
+
+ +
+

+ Auteur·e + + + + + + + + + + +

+

+
+

+ +

+ + + + + + + +

+ + + +
+
+
+ +
+ +
+ +

Dernière publication

+ 'articles', + 'posts_per_page' => 1, + 'orderby' => 'date', + 'order' => 'DESC', + 'post_not_in' => array(913), + 'meta_query' => array( + array( + 'key' => 'authors', + 'value' => $author_id, + 'compare' => 'LIKE' + ) + ), + )); + + + if (isset($latestArticle[0])) : ?> + + $latestArticle[0]->ID, + 'showCover' => true, + )); + + ?> + + + +
+ 'articles', + 'posts_per_page' => -1, + 'post__not_in' => array($latestArticle[0]->ID), + 'meta_query' => array( + array( + 'key' => 'authors', // Ajustez selon votre structure + 'value' => $author_id, + 'compare' => 'LIKE' + ) + ), + )); + ?> + + + + + + + + + +
+ +