From 51ec24349541c6431d0c025e897f574d3be5de72 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 19 Dec 2023 15:10:58 +0100 Subject: [PATCH] escaping aide-financieres from thematiques loop --- template-archive-questions.php | 2 ++ .../home/questions-frequentes/questions-frequentes.php | 2 ++ template-blocks/home/show-thematiques/show-thematiques.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/template-archive-questions.php b/template-archive-questions.php index a96b0e0..4c2a914 100644 --- a/template-archive-questions.php +++ b/template-archive-questions.php @@ -33,6 +33,8 @@ $page_icon = get_field('page_icon', get_queried_object()); || $thematique->slug === "circulaire-renovatie" || $thematique->slug === "au-quotidien" || $thematique->slug === "dagelijks" + || $thematique->slug === "aides-financieres" + || $thematique->slug === "financiele-steun" ) continue; ?> slug === "circulaire-renovatie" || $thematique->slug === "au-quotidien" || $thematique->slug === "dagelijks" + || $thematique->slug === "aides-financieres" + || $thematique->slug === "financiele-steun" ) continue; // $thematique_datas = get_term_by('slug', $thematique->slug, 'thematiques'); diff --git a/template-blocks/home/show-thematiques/show-thematiques.php b/template-blocks/home/show-thematiques/show-thematiques.php index f6d1e86..d7efe1f 100755 --- a/template-blocks/home/show-thematiques/show-thematiques.php +++ b/template-blocks/home/show-thematiques/show-thematiques.php @@ -41,6 +41,8 @@ $terms = get_terms(array( || $term->slug === "circulaire-renovatie" || $term->slug === "au-quotidien" || $term->slug === "dagelijks" + || $term->slug === "aides-financieres" + || $term->slug === "financiele-steun" ) continue; ?>