p
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,
'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 sur ", "homegrade-theme__texte-fonctionnel__faq-archive-questions") . get_queried_object()->name,
'sub-title' => $currentThematique->name,
'thematique' => $currentThematique,
'thematique_generale' => $mainThematique,
'thematiqueColorSlug' => $thematiqueColorSlug,
)
); ?>
have_posts()) : while ($relatedTaxQuestions->have_posts()) : $relatedTaxQuestions->the_post(); ?>