ignoring temporarely questions fréquents

This commit is contained in:
Antoine M 2023-11-21 10:45:02 +01:00
parent 05b687bb66
commit d91cce018d
3 changed files with 5 additions and 2 deletions

View File

@ -28,10 +28,10 @@ $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
// $thematique_icon = get_field('taxonomy_pictures', $thematique)['icon'];
$original_term_ID = apply_filters('wpml_object_id', $thematique->term_id, 'thematiques', TRUE, 'fr');
$thematique_icon = get_field('taxonomy_pictures', $thematique->taxonomy . '_' . $original_term_ID)['icon'];
$termSlug = getThematiqueFamilySlug($thematique->slug);

View File

@ -20,6 +20,8 @@ $block_titling = get_field('block_titling_description_datas');
));
foreach ($thematique_terms as $key => $thematique) {
if ($thematique->slug === "renovation-circulaire") continue;
// $thematique_datas = get_term_by('slug', $thematique->slug, 'thematiques');
$manual_data = get_field($thematique->slug . '_manual_data');

View File

@ -36,6 +36,7 @@ $terms = get_terms(array(
<div class="swiper-slide">Slide 3</div> -->
<?php foreach ($terms as $term) : ?>
<?php if ($term->slug === "renovation-circulaire") continue; ?>
<div class="swiper-slide">
<?php
get_template_part(