refactoring page
This commit is contained in:
parent
2c57376df5
commit
40036a7381
20
page.php
20
page.php
|
|
@ -5,19 +5,19 @@ $mainThematique = getMainThematique($currentThematique);
|
|||
$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
|
||||
while (have_posts()) :
|
||||
the_post();
|
||||
the_content();
|
||||
?>
|
||||
<?php if (have_posts()) : ?>
|
||||
<?php
|
||||
while (have_posts()) :
|
||||
the_post();
|
||||
the_content();
|
||||
?>
|
||||
|
||||
|
||||
<?php endwhile; ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php get_footer();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user