From 252a76a3170228dcb186e3b8dc2bb728bae15e32 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 28 Nov 2023 17:01:47 +0100 Subject: [PATCH] hadnling conditionnal document download button --- template-publications.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/template-publications.php b/template-publications.php index 6f597f1..20755eb 100644 --- a/template-publications.php +++ b/template-publications.php @@ -122,9 +122,9 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos $highlightedDocumentDatas = get_field('highlighted_document', $current_page_id) ?? null; $documentThumbnail = get_field('brochure_cover_image', $highlightedDocumentDatas['document']['ID']); - ?> +
@@ -139,12 +139,14 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
- + + +
' /> -   +