Compare commits
2 Commits
3806a8897b
...
0b76633324
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b76633324 | ||
|
|
1d5dd54b51 |
|
|
@ -41,14 +41,8 @@ if (!function_exists('get_automatic_post')) {
|
||||||
|
|
||||||
foreach ($thematique_terms as $key => $thematique) {
|
foreach ($thematique_terms as $key => $thematique) {
|
||||||
if (
|
if (
|
||||||
$thematique->slug === "durabilite"
|
$thematique->slug === "aides-financieres"
|
||||||
|| $thematique->slug === "duurzaamheid"
|
|
||||||
|| $thematique->slug === "au-quotidien"
|
|
||||||
|| $thematique->slug === "dagelijks"
|
|
||||||
|| $thematique->slug === "aides-financieres"
|
|
||||||
|| $thematique->slug === "financiele-steun"
|
|| $thematique->slug === "financiele-steun"
|
||||||
|| $thematique->slug === "gezondheid-veiligheid-hygiene"
|
|
||||||
|| $thematique->slug === "sante-securite-salubrite"
|
|
||||||
) continue;
|
) continue;
|
||||||
|
|
||||||
// $thematique_datas = get_term_by('slug', $thematique->slug, 'thematiques');
|
// $thematique_datas = get_term_by('slug', $thematique->slug, 'thematiques');
|
||||||
|
|
@ -56,6 +50,9 @@ if (!function_exists('get_automatic_post')) {
|
||||||
$manual_data = get_field($thematique->slug . '_manual_data');
|
$manual_data = get_field($thematique->slug . '_manual_data');
|
||||||
$post_datas = $manual_data ? $manual_data : get_automatic_post($thematique);
|
$post_datas = $manual_data ? $manual_data : get_automatic_post($thematique);
|
||||||
|
|
||||||
|
|
||||||
|
if (!$post_datas) continue;
|
||||||
|
|
||||||
get_template_part(
|
get_template_part(
|
||||||
'template-components/cards/card-frequent-question',
|
'template-components/cards/card-frequent-question',
|
||||||
null,
|
null,
|
||||||
|
|
|
||||||
|
|
@ -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