breadcrumb corrections
This commit is contained in:
parent
ea1109ca0e
commit
4a3b2ea61d
|
|
@ -37,7 +37,9 @@ $query_args = array(
|
|||
$relatedTaxQuestions = new WP_Query($query_args);
|
||||
?>
|
||||
|
||||
<nav class="breadcrumbs_navigation" aria-label="breadcrumbs">
|
||||
|
||||
<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">
|
||||
<?php
|
||||
$current_children_thematique = get_queried_object()->parent != 0 ? get_queried_object() : null;
|
||||
$archiveQuestions = get_page_by_template('template-archive-questions.php')[0];
|
||||
|
|
@ -60,9 +62,7 @@ $relatedTaxQuestions = new WP_Query($query_args);
|
|||
<?php endif; ?>
|
||||
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<div class="taxonomy-question-page-container <?php echo $thematiqueColorSlug ? "taxonomy-question-page--" . $mainThematique->slug : "" ?>"" data-thematique-id=" <?php echo $currentThematique->term_id ?>">
|
||||
</nav>
|
||||
|
||||
<?php get_template_part(
|
||||
'template-components/posts-components/chapter-header',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user