diff --git a/template-parts/articles/articles-grid.php b/template-parts/articles/articles-grid.php new file mode 100644 index 0000000..9d19ffc --- /dev/null +++ b/template-parts/articles/articles-grid.php @@ -0,0 +1,73 @@ + 'articles', + 'posts_per_page' => -1 +)); +$post_count = $articles->post_count; +$authors = get_posts(array( + 'post_type' => 'auteurs', + 'posts_per_page' => -1 +)); + +$thematiques = get_terms(array( + 'taxonomy' => 'etiquettes', + 'hide_empty' => true, +)); +?> + +
+
+ +
+

+ + + + + + +

+ + + +
+ + + + + +
+ +
+ +
+
\ No newline at end of file