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,
)
); ?>
$relatedTaxQuestions,
)
)
?>