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=""> - - -
- - -