adding thematique loop exceptions for non ready thematiques
This commit is contained in:
parent
84224693fe
commit
813d29b79a
|
|
@ -28,7 +28,12 @@ $page_icon = get_field('page_icon', get_queried_object());
|
||||||
<p class="archive-page-header__description"><?php echo __("Simplifions votre recherche grâce aux questions fréquemment posées !", "homegrade-theme__texte-fonctionnel__faq-archive-questions") ?></p>
|
<p class="archive-page-header__description"><?php echo __("Simplifions votre recherche grâce aux questions fréquemment posées !", "homegrade-theme__texte-fonctionnel__faq-archive-questions") ?></p>
|
||||||
<ul class="archive-page-header__terms-grid">
|
<ul class="archive-page-header__terms-grid">
|
||||||
<?php foreach ($thematiquesTerms as $thematique) : ?>
|
<?php foreach ($thematiquesTerms as $thematique) : ?>
|
||||||
<?php if ($thematique->slug === "renovation-circulaire") continue; ?>
|
<?php if (
|
||||||
|
$thematique->slug === "renovation-circulaire"
|
||||||
|
|| $thematique->slug === "circulaire-renovatie"
|
||||||
|
|| $thematique->slug === "au-quotidien"
|
||||||
|
|| $thematique->slug === "dagelijks"
|
||||||
|
) continue; ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// $thematique_icon = get_field('taxonomy_pictures', $thematique)['icon'];
|
// $thematique_icon = get_field('taxonomy_pictures', $thematique)['icon'];
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,6 @@ get_header();
|
||||||
$current_page_id = get_queried_object_id();
|
$current_page_id = get_queried_object_id();
|
||||||
$pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
$pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
||||||
|
|
||||||
|
|
||||||
$posts_per_page = 5;
|
$posts_per_page = 5;
|
||||||
|
|
||||||
// #### BROCHURES QUERY
|
// #### BROCHURES QUERY
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user