Compare commits

..

No commits in common. "0b7663332430c5c1b9f502a0fbafdb4ffede9b7c" and "3806a8897b4ffba98ddcce66830b680bb6a0de2a" have entirely different histories.

2 changed files with 18 additions and 5 deletions

View File

@ -41,8 +41,14 @@ if (!function_exists('get_automatic_post')) {
foreach ($thematique_terms as $key => $thematique) {
if (
$thematique->slug === "aides-financieres"
$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"
) continue;
// $thematique_datas = get_term_by('slug', $thematique->slug, 'thematiques');
@ -50,9 +56,6 @@ if (!function_exists('get_automatic_post')) {
$manual_data = get_field($thematique->slug . '_manual_data');
$post_datas = $manual_data ? $manual_data : get_automatic_post($thematique);
if (!$post_datas) continue;
get_template_part(
'template-components/cards/card-frequent-question',
null,

View File

@ -36,7 +36,17 @@ $terms = get_terms(array(
<div class="swiper-slide">Slide 3</div> -->
<?php foreach ($terms as $term) : ?>
<?php if ($term->slug === "aides-financieres" || $term->slug === "financiele-steun") continue; ?>
<?php if (
$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">
<?php
get_template_part(