From b1248d8264842a89aad19910d8a41b03f8f442f5 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Thu, 7 Dec 2023 15:58:39 +0100 Subject: [PATCH] adding onsult publications button --- taxonomy-thematiques.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/taxonomy-thematiques.php b/taxonomy-thematiques.php index eb2b779..4545cfc 100644 --- a/taxonomy-thematiques.php +++ b/taxonomy-thematiques.php @@ -198,6 +198,16 @@ FILTERS ?> + '_wp_page_template', + 'meta_value' => "template-publications.php" + ); + $relatedPublicationsTemplatePage = get_pages($args) ? get_pages($args)[0] : null; + + ?> + +