From 435eb4f2180795ad51b18953e73913b8126b5237 Mon Sep 17 00:00:00 2001 From: Nonimart Date: Wed, 25 Jun 2025 11:44:45 +0200 Subject: [PATCH] FIX Conditionnal display of tags to avoid empty vertical space when no tags --- template-parts/articles/article-content.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/template-parts/articles/article-content.php b/template-parts/articles/article-content.php index 4743dcf..7a04c74 100644 --- a/template-parts/articles/article-content.php +++ b/template-parts/articles/article-content.php @@ -4,17 +4,22 @@ $articleContent = get_the_content($articleID); $articleTitle = get_the_title($articleID); $citeReference = get_field('cite_reference', $articleID); $tags = get_the_terms($articleID, 'etiquettes'); + ?>
- + + + + +