diff --git a/archive-analyses-etudes.php b/archive-analyses-etudes.php
index c12acab..c474d8d 100644
--- a/archive-analyses-etudes.php
+++ b/archive-analyses-etudes.php
@@ -9,6 +9,7 @@
'url' => get_stylesheet_directory_uri() . '/resources/img/covers/carhop-page-analyses-etudes-cover.svg',
'alt' => 'Revues'
),
+ 'has_overlap' => true,
'background_style' => 'sliced',
'cta' => array(
'title' => __('Trouver une publication', 'carhop'),
@@ -16,22 +17,89 @@
)
)); ?>
+
+
Dernière parution
+ 1, // Number of recent posts thumbnails to display
+ 'post_status' => 'publish', // Show only the published posts
+ 'post_type' => 'analyses-etudes',
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ 'tax_query' => array(
+ array(
+ 'taxonomy' => 'type',
+ 'field' => 'slug',
+ 'terms' => 'analyse',
+ ),
+ ),
+ ));
+ $latest_etude = get_posts(array(
+ 'posts_per_page' => 1, // Number of recent posts thumbnails to display
+ 'post_status' => 'publish', // Show only the published posts
+ 'post_type' => 'analyses-etudes',
+ 'orderby' => 'date',
+ 'order' => 'DESC',
+ 'tax_query' => array(
+ array(
+ 'taxonomy' => 'type',
+ 'field' => 'slug',
+ 'terms' => 'etude',
+ ),
+ ),
+ ));
+ $recent_posts = array_merge($latest_analyse, $latest_etude);
+
+ ?>
+
+ ID, 'type');
+ ?>
+
+
+
-
+
+
-
+
+
+
';
- echo do_blocks($block_content);
+ $composition_id = 988;
+ $soutenir_content = get_post_field('post_content', $composition_id);
+
+ if ($soutenir_content) {
+ echo do_blocks($soutenir_content);
+ }
?>
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ 1,
+ 'post_type' => 'expositions',
+ ));
+ ?>
+
+
+
+ 'expositions',
+ 'post_amount' => -1,
+ 'grid_title' => 'Trouver une exposition',
+ )); ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $post_amount,
+ 'post_type' => 'outils-pedagogiques',
+ ));
+ ?>
+
+
+
+ 'outils-pedagogiques',
+ 'post_amount' => -1,
+ 'grid_title' => 'Trouver un outil pédagogique',
+ )); ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+