diff --git a/template-parts/components/chapter-section.php b/template-parts/components/chapter-section.php new file mode 100644 index 0000000..65de386 --- /dev/null +++ b/template-parts/components/chapter-section.php @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + salut le test + + + + + + + + + + \ No newline at end of file diff --git a/template-parts/revues/card-revue.php b/template-parts/revues/card-revue.php new file mode 100644 index 0000000..4c06ffb --- /dev/null +++ b/template-parts/revues/card-revue.php @@ -0,0 +1,30 @@ + + + + + + + + + + Revue + + + + + + + + + + + + + \ No newline at end of file diff --git a/template-parts/revues/revues-grid.php b/template-parts/revues/revues-grid.php new file mode 100644 index 0000000..c52ffda --- /dev/null +++ b/template-parts/revues/revues-grid.php @@ -0,0 +1,73 @@ + 'revues', + 'posts_per_page' => -1 +)); +$post_count = $revues->post_count; +$authors = get_posts(array( + 'post_type' => 'auteurs', + 'posts_per_page' => -1 +)); + +$thematiques = get_terms(array( + 'taxonomy' => 'etiquettes', + 'hide_empty' => true, +)); +?> + + + + + + + + + + + + + + + + + + + + + + + + name; ?> + + + + + + post_title; ?> + + + + + + + + + + + + + + + have_posts()) : ?> + have_posts()) : $revues->the_post(); ?> + get_the_date(), + 'image' => get_the_post_thumbnail_url(), + 'link' => get_the_permalink(), + 'ID' => get_the_ID() + )); ?> + + + + \ No newline at end of file