diff --git a/template-parts/authors/authors-last-publications.php b/template-parts/authors/authors-last-publications.php deleted file mode 100644 index 5fb5666..0000000 --- a/template-parts/authors/authors-last-publications.php +++ /dev/null @@ -1,51 +0,0 @@ - 'OR'); -foreach ($authors as $author_id) { - $meta_query[] = array( - 'key' => 'authors', - 'value' => '"' . $author_id . '"', // Recherche la valeur sérialisée - 'compare' => 'LIKE' - ); -} - - -$authorsLastPosts = get_posts(array( - 'post_type' => $isArticle ? 'articles' : 'revues', - 'posts_per_page' => 6, - 'orderby' => 'date', - 'order' => 'DESC', - 'meta_query' => $meta_query, -)); - -if (empty($authorsLastPosts) || count($authorsLastPosts) < 2) return; -?> - -
- - \ No newline at end of file diff --git a/template-parts/authors/authors-list.php b/template-parts/authors/authors-list.php deleted file mode 100644 index e71e6ab..0000000 --- a/template-parts/authors/authors-list.php +++ /dev/null @@ -1,29 +0,0 @@ - - \ No newline at end of file diff --git a/template-parts/authors/card-author.php b/template-parts/authors/card-author.php deleted file mode 100644 index dd2aaab..0000000 --- a/template-parts/authors/card-author.php +++ /dev/null @@ -1,42 +0,0 @@ - - - - - - - - \ No newline at end of file