refactoring page

This commit is contained in:
Antoine M 2023-11-09 14:25:00 +01:00
parent 2c57376df5
commit 40036a7381

View File

@ -5,19 +5,19 @@ $mainThematique = getMainThematique($currentThematique);
$thematiqueColorSlug = $mainThematique->slug; $thematiqueColorSlug = $mainThematique->slug;
?> ?>
<div class="homegrade-page-container <?php echo $thematiqueColorSlug ? "homegrade-page-container--" . $thematiqueColorSlug : "" ?>"> <div class="homegrade-page-container <?php echo $thematiqueColorSlug ? "homegrade-page-container--" . $thematiqueColorSlug : "" ?>">
<?php if (have_posts()) : ?> <?php if (have_posts()) : ?>
<?php <?php
while (have_posts()) : while (have_posts()) :
the_post(); the_post();
the_content(); the_content();
?> ?>
<?php endwhile; ?> <?php endwhile; ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php get_footer(); <?php get_footer();