From b70102e465ea392c80e47d0653398215cbaf1bf3 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 3 Mar 2026 17:12:00 +0100 Subject: [PATCH] FEATURE Introducing data handling and page for activites post type --- archive-activites.php | 29 ++++++++++++++++++++ single-activites.php | 62 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 archive-activites.php create mode 100644 single-activites.php diff --git a/archive-activites.php b/archive-activites.php new file mode 100644 index 0000000..c663c73 --- /dev/null +++ b/archive-activites.php @@ -0,0 +1,29 @@ + + + + +
+ + + + + + 'activites', + 'post_amount' => -1, + 'grid_title' => 'Trouver une activité', + )); ?> + + + + + + + +
+ + + + + +
+ + + 'Publication' + )); ?> + + +
+ +
+ + + get_the_ID() + )); ?> + + get_the_ID() + )); ?> +
+ + +
+ + + + + + + slug === 'formation-archives' || $type->slug === 'formation-histoire')) { + get_template_part('template-parts/compositions/formation-sur-demande'); + } + + + if (isset($type) && ($type->slug === 'conference')) { + get_template_part('template-parts/compositions/conferences-sur-demande'); + } + if (isset($type) && ($type->slug === 'animation')) { + get_template_part('template-parts/compositions/animation-sur-demande'); + } + ?> + + + +
+ +