From 1a1f1c6e9bd2012fbb74ccf9756bef965e4945ad Mon Sep 17 00:00:00 2001 From: Nonimart Date: Fri, 1 Aug 2025 10:09:02 +0200 Subject: [PATCH] stashing --- footer.php | 337 ++++++++------- functions.php | 1 + header.php | 20 +- includes/admin.php | 5 +- .../export-paper-publication-entries.php | 9 +- includes/init.php | 12 +- includes/navwalker.php | 111 +++-- includes/post_types.php | 406 +++++++++--------- includes/utilities.php | 4 +- package.json | 15 +- resources/css/admin-style.css | 19 - resources/css/app.css | 3 + resources/css/base/links.css | 2 +- resources/css/blocks/content-page-header.css | 6 + resources/css/blocks/cta-slim.css | 14 + resources/css/blocks/show-thematiques.css | 84 ++++ resources/css/components/cta.css | 3 + resources/css/components/forms/forms.css | 3 +- resources/css/layout/footer.css | 23 +- resources/css/layout/menu-homegrade.css | 65 ++- resources/js/menus.js | 1 + searchform.php | 1 - single-conseils.php | 252 +++++------ single-questions.php | 2 +- tailwind.config.js | 2 +- template-archive-jobs.php | 2 +- .../header/menu-renovateur.php | 13 +- template-components/header/mobile-brand.php | 8 +- template-components/header/search-module.php | 9 +- template-publications.php | 39 +- 30 files changed, 841 insertions(+), 630 deletions(-) create mode 100644 resources/css/blocks/cta-slim.css diff --git a/footer.php b/footer.php index ff7bbcb..620fea0 100644 --- a/footer.php +++ b/footer.php @@ -1,168 +1,171 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/functions.php b/functions.php index 12325b1..b9b0b9b 100644 --- a/functions.php +++ b/functions.php @@ -16,3 +16,4 @@ require_once(__DIR__ . '/includes/wysiwyg.php'); require_once(__DIR__ . '/includes/search.php'); require_once(__DIR__ . '/includes/rooting.php'); require_once(__DIR__ . '/includes/forms.php'); +require_once(__DIR__ . '/includes/wpml.php'); diff --git a/header.php b/header.php index 551cc25..d3ac399 100644 --- a/header.php +++ b/header.php @@ -8,17 +8,17 @@ - + current-language=""> - - -
" class="min-h-screen flex flex-col "> - + "> @@ -216,4 +221,8 @@ $logoSRC = wp_get_attachment_image_src($logoID, 'full'); // get_template_part('template-components/header/search-module'); ?>
- \ No newline at end of file + + + \ No newline at end of file diff --git a/template-components/header/mobile-brand.php b/template-components/header/mobile-brand.php index 94ad435..884a15f 100644 --- a/template-components/header/mobile-brand.php +++ b/template-components/header/mobile-brand.php @@ -1,4 +1,5 @@ @@ -36,4 +37,9 @@ $logoSRC = wp_get_attachment_image_src($logoID, 'full'); - \ No newline at end of file + + + + \ No newline at end of file diff --git a/template-components/header/search-module.php b/template-components/header/search-module.php index 51d9952..1ef1091 100644 --- a/template-components/header/search-module.php +++ b/template-components/header/search-module.php @@ -1,5 +1,5 @@ - \ No newline at end of file + + + diff --git a/template-publications.php b/template-publications.php index 990fe3c..1131b22 100644 --- a/template-publications.php +++ b/template-publications.php @@ -75,6 +75,12 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos "pageIcon" => $pageIcon, "title" => get_the_title(get_queried_object_id()), "description" => __("Découvrez toutes nos publications et outils en ligne", "homegrade-theme__texte-fonctionnel"), + "ctaSecondary" => array( + "title" => $receivePrintedPublicationsDatas['cta_title'] ?? null, + "url" => $receivePrintedPublicationsDatas['order_form_url'] ?? null, + "target" => "_blank", + "custom-class" => "paper-button", + ), )); ?> @@ -233,42 +239,15 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos - + - - -
- -
-
-
-

-
- -
-

-
-
-
- - " alt=""> - - -
- - -