handling single page template
This commit is contained in:
parent
adce6ca331
commit
a5bebd99dd
|
|
@ -3,6 +3,7 @@ get_header();
|
|||
?>
|
||||
|
||||
|
||||
|
||||
<?php if (have_posts()) : ?>
|
||||
<?php
|
||||
while (have_posts()) :
|
||||
|
|
@ -11,6 +12,7 @@ get_header();
|
|||
$thematiqueParent = getParentThematique($thematique);
|
||||
$thematiqueColorSlug = getThematiqueFamilySlug($thematiqueParent->slug);
|
||||
?>
|
||||
|
||||
<article class="container my-8 mx-auto entry-content single-editor-content <?php echo $thematiqueColorSlug ? "entry-content--" . $thematiqueColorSlug : "" ?>">
|
||||
<?php the_content() ?>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user