From 29064d75b4a504d0999288e2536b0b837fbf88e9 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 17 Jan 2024 16:40:21 +0100 Subject: [PATCH] wrapping the page in a page container --- template-archive-conseils.php | 202 +++++++++++++++++----------------- 1 file changed, 102 insertions(+), 100 deletions(-) diff --git a/template-archive-conseils.php b/template-archive-conseils.php index 047f578..7b7b59d 100644 --- a/template-archive-conseils.php +++ b/template-archive-conseils.php @@ -6,121 +6,123 @@ $thematiquesTerms = get_terms(array( 'parent' => 0 )); $page_icon = get_field('page_icon', get_queried_object()); - ?> - -
+
+ - - - +
-

-

-
    - - slug === "renovation-circulaire" - || $thematique->slug === "circulaire-renovatie" - || $thematique->slug === "au-quotidien" - || $thematique->slug === "dagelijks" - ) continue; - - $original_term_ID = apply_filters('wpml_object_id', $thematique->term_id, 'thematiques', FALSE, 'fr'); - $thematique_icon = get_field('taxonomy_pictures', $thematique->taxonomy . '_' . $original_term_ID)['icon']; - $termSlug = getThematiqueFamilySlug($thematique->slug); + + + - $args = array( - 'posts_per_page' => 1, - 'post_type' => 'conseils', - 'tax_query' => array( - array( - 'taxonomy' => 'thematiques', - 'field' => 'term_id', - 'terms' => $thematique->term_id, - 'include_children' => false - ) - ) - ); - - $relatedThematiqueConseilsQuery = new WP_Query($args); - $relatedPostConseil = $relatedThematiqueConseilsQuery->posts[0] ?? null; - ?> - -
  • - - -

    Question name ?>

    -
    -
  • - - - -
- -
- -
- -
- - -
-

-

-
-
+ +
+ +
+ + +
+

+

+ +
-
- - - -
+ +