working on parcours renovateur

This commit is contained in:
Antoine M 2024-06-26 16:48:54 +02:00
parent c421c3a5b7
commit bd8990153f

View File

@ -93,7 +93,10 @@ $otherSteps = new WP_Query(array(
<article class="container my-8 mx-auto entry-content single-editor-content">
<?php foreach ($chapters->posts as $chapter) : ?>
<?php
the_content();
?>
<!-- <?php foreach ($chapters->posts as $chapter) : ?>
<?php if ($chapter->post_content) : ?>
<div id="<?php echo $chapter->post_name ?>" class="parcours-chapter-container">
<h2><?php echo $chapter->post_title ?></h2>
@ -103,7 +106,7 @@ $otherSteps = new WP_Query(array(
<a href="<?php echo get_post_permalink($chapter->ID) ?>">Voir la single <?php echo $chapter->post_title ?></a>
</div>
<?php endif; ?>
<?php endforeach; ?>
<?php endforeach; ?> -->
</article>
</div>