breadcrumb corrections

This commit is contained in:
Antoine M 2024-01-23 17:22:25 +01:00
parent ea1109ca0e
commit 4a3b2ea61d

View File

@ -37,6 +37,8 @@ $query_args = array(
$relatedTaxQuestions = new WP_Query($query_args); $relatedTaxQuestions = new WP_Query($query_args);
?> ?>
<div class="taxonomy-question-page-container <?php echo $thematiqueColorSlug ? "taxonomy-question-page--" . $mainThematique->slug : "" ?>"" data-thematique-id=" <?php echo $currentThematique->term_id ?>">
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs"> <nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
<?php <?php
$current_children_thematique = get_queried_object()->parent != 0 ? get_queried_object() : null; $current_children_thematique = get_queried_object()->parent != 0 ? get_queried_object() : null;
@ -62,8 +64,6 @@ $relatedTaxQuestions = new WP_Query($query_args);
</ol> </ol>
</nav> </nav>
<div class="taxonomy-question-page-container <?php echo $thematiqueColorSlug ? "taxonomy-question-page--" . $mainThematique->slug : "" ?>"" data-thematique-id=" <?php echo $currentThematique->term_id ?>">
<?php get_template_part( <?php get_template_part(
'template-components/posts-components/chapter-header', 'template-components/posts-components/chapter-header',
null, null,