From 4a48559addffa0b076f4bb0ffc1533181f7cc8b7 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 21 Dec 2023 10:01:04 +0100 Subject: [PATCH] handling big red button --- template-publications.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/template-publications.php b/template-publications.php index a4ace76..83778cc 100644 --- a/template-publications.php +++ b/template-publications.php @@ -88,10 +88,17 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos HEADING BOX -----------------*/ ?> $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['cta_document']['url'] ?? null, + "target" => "_blank", + ), )); ?> @@ -191,7 +198,6 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos HIGHLIGHTED BROCHURE -----------------------*/ ?>
- found_posts + $fichesInfosPosts->found_pos
- - +@