From d426369c14d0bb24ffa7f499cda4fd4fffa8f335 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 3 Mar 2026 17:19:05 +0100 Subject: [PATCH] REFACTOR Importing dynamic fse compositionsfor soutenir and infolettre to increase flexibilty and simplify user modifications --- archive-actualites.php | 17 ++--------------- archive-analyses-etudes.php | 17 ++--------------- archive-expositions.php | 17 ++--------------- archive-outils-pedagogiques.php | 17 ++--------------- archive.php | 17 ++--------------- 5 files changed, 10 insertions(+), 75 deletions(-) diff --git a/archive-actualites.php b/archive-actualites.php index b4504c0..4a519c0 100644 --- a/archive-actualites.php +++ b/archive-actualites.php @@ -26,24 +26,11 @@ $current_post_type = get_post_type(); - - if ($soutenir_content) { - echo do_blocks($soutenir_content); - } - ?> - + - - - if ($soutenir_content) { - echo do_blocks($soutenir_content); - } - ?> - ?> diff --git a/archive-expositions.php b/archive-expositions.php index 1552b31..df8c9eb 100644 --- a/archive-expositions.php +++ b/archive-expositions.php @@ -26,24 +26,11 @@ $current_post_type = get_post_type(); - - if ($soutenir_content) { - echo do_blocks($soutenir_content); - } - ?> - + - - if ($soutenir_content) { - echo do_blocks($soutenir_content); - } - ?> - + - - if ($soutenir_content) { - echo do_blocks($soutenir_content); - } - ?> - +