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