handling nederland color scheme

This commit is contained in:
Antoine M 2023-10-25 14:45:16 +02:00
parent acef13761a
commit db1b1562d3

View File

@ -36,9 +36,10 @@ function build_chapter_index($blocks)
$currentThematique = get_the_terms(get_the_ID(), 'thematiques')[0]; $currentThematique = get_the_terms(get_the_ID(), 'thematiques')[0];
$mainThematique = getMainThematique($currentThematique); $mainThematique = getMainThematique($currentThematique);
$thematiqueColorSlug = $mainThematique->slug; $thematiqueColorSlug = $mainThematique->slug;
?> ?>
<div class="post-conseil-page-container <?php echo $thematiqueColorSlug ? "post-conseil-page--" . $thematiqueColorSlug : "" ?>""> <div class="post-conseil-page-container <?php echo $thematiqueColorSlug ? "post-conseil-page--" . $thematiqueColorSlug : "" ?>">
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs"> <nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
<?php <?php
$archiveConseils = get_page_by_template('template-archive-conseils.php')[0]; $archiveConseils = get_page_by_template('template-archive-conseils.php')[0];