parent === 0; $mainThematique = getMainThematique($currentThematique); $thematiqueColorSlug = getThematiqueFamilySlug($mainThematique->slug); $sousThematiques = get_terms(array( 'child_of' => $mainThematique->term_id, 'taxonomy' => 'thematiques', 'hide_empty' => true, )); ?> 'questions', 'posts_per_page' => -1, 'status' => 'publish', 'tax_query' => array( array( 'taxonomy' => 'thematiques', 'field' => 'term_id', 'terms' => $currentThematique->term_id, ) ) ); $relatedTaxQuestions = new WP_Query($query_args); ?>
slug : "" ?>"" data-thematique-id=" term_id ?>"> get_queried_object_id(), 'title' => __("Les questions les plus fréquentes", "homegrade-theme__texte-fonctionnel__faq-archive-questions"), 'sub-title' => $currentThematique->name, 'thematique' => $currentThematique, 'thematique_generale' => $mainThematique, 'thematiqueColorSlug' => $thematiqueColorSlug, ) ); ?>

found_posts ?>

$relatedTaxQuestions, ) ) ?>

    'brochures', 'posts_per_page' => 5, 'post_status' => 'publish', 'orderby' => 'rand', 'meta_key' => 'brochure_pdf', 'meta_value' => false, 'meta_compare' => '!=', 'tax_query' => array( array( 'taxonomy' => 'thematiques', 'field' => 'term_id', 'terms' => $mainThematique->term_id, ) ) ); $brochuresPosts = new WP_Query($args); ?> $brochuresPosts, ) ) ?>
'_wp_page_template', 'meta_value' => "template-publications.php" ); $relatedPublicationsTemplatePage = get_pages($args) ? get_pages($args)[0] : null; ?>