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>
|
||||
<ul class="archive-page-header__terms-grid">
|
||||
<?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
|
||||
// $thematique_icon = get_field('taxonomy_pictures', $thematique)['icon'];
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ get_header();
|
|||
$current_page_id = get_queried_object_id();
|
||||
$pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
||||
|
||||
|
||||
$posts_per_page = 5;
|
||||
|
||||
// #### BROCHURES QUERY
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user