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
- - +@