FEATURE Update term filtering logic in template-archive-conseils and template-archive-questions to include 'gerer-ses-travaux' and 'werkzaamheden-beheren'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cb50bbb0ba
commit
4c7091e6d4
|
|
@ -31,11 +31,7 @@ $page_icon = get_field('page_icon', get_queried_object());
|
|||
<ul class="archive-page-header__terms-grid">
|
||||
<?php foreach ($thematiquesTerms as $thematique) : ?>
|
||||
<?php
|
||||
if (
|
||||
|
||||
$thematique->slug === "au-quotidien"
|
||||
|| $thematique->slug === "dagelijks"
|
||||
) continue;
|
||||
if ($term->slug === "aides-financieres" || $term->slug === "financiele-steun") continue;
|
||||
|
||||
$original_term_ID = apply_filters('wpml_object_id', $thematique->term_id, 'thematiques', FALSE, 'fr');
|
||||
$thematique_icon = get_field('taxonomy_pictures', $thematique->taxonomy . '_' . $original_term_ID)['icon'];
|
||||
|
|
|
|||
|
|
@ -30,14 +30,7 @@ $page_icon = get_field('page_icon', get_queried_object());
|
|||
<ul class="archive-page-header__terms-grid">
|
||||
<?php foreach ($thematiquesTerms as $thematique) : ?>
|
||||
<?php if (
|
||||
$thematique->slug === "durabilite"
|
||||
|| $thematique->slug === "duurzaamheid"
|
||||
|| $thematique->slug === "au-quotidien"
|
||||
|| $thematique->slug === "dagelijks"
|
||||
|| $thematique->slug === "aides-financieres"
|
||||
|| $thematique->slug === "financiele-steun"
|
||||
|| $thematique->slug === "gezondheid-veiligheid-hygiene"
|
||||
|| $thematique->slug === "sante-securite-salubrite"
|
||||
$thematique->slug === "aides-financieres" || $thematique->slug === "financiele-steun" | $thematique->slug === "gerer-ses-travaux" | $thematique->slug === "werkzaamheden-beheren"
|
||||
) continue; ?>
|
||||
|
||||
<?php
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user