FEATURE Simplify term filtering in show-thematiques.php by reducing the number of excluded slugs to improve code readability.
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
1d5dd54b51
commit
0b76633324
|
|
@ -36,17 +36,7 @@ $terms = get_terms(array(
|
||||||
<div class="swiper-slide">Slide 3</div> -->
|
<div class="swiper-slide">Slide 3</div> -->
|
||||||
|
|
||||||
<?php foreach ($terms as $term) : ?>
|
<?php foreach ($terms as $term) : ?>
|
||||||
<?php if (
|
<?php if ($term->slug === "aides-financieres" || $term->slug === "financiele-steun") continue; ?>
|
||||||
$term->slug === "durabilite"
|
|
||||||
|| $term->slug === "duurzaamheid"
|
|
||||||
|| $term->slug === "au-quotidien"
|
|
||||||
|| $term->slug === "dagelijks"
|
|
||||||
|| $term->slug === "aides-financieres"
|
|
||||||
|| $term->slug === "financiele-steun"
|
|
||||||
|| $term->slug === "gezondheid-veiligheid-hygiene"
|
|
||||||
|| $term->slug === "sante-securite-salubrite"
|
|
||||||
|
|
||||||
) continue; ?>
|
|
||||||
<div class="swiper-slide">
|
<div class="swiper-slide">
|
||||||
<?php
|
<?php
|
||||||
get_template_part(
|
get_template_part(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user