Exécution des blocks dans un block. Pansement Gilles

This commit is contained in:
Van Assche Gilles 2024-09-09 11:05:36 +00:00
parent 9f35cc4df3
commit c222292817

View File

@ -6,5 +6,5 @@ $relatedPost = get_post($relatedPostId);
<section id="questions-container-<?php echo $relatedPostId ?>" class="questions-container-block"> <section id="questions-container-<?php echo $relatedPostId ?>" class="questions-container-block">
<h2 class="questions-container-block__title"><?php echo $relatedPost->post_title ?></h2> <h2 class="questions-container-block__title"><?php echo $relatedPost->post_title ?></h2>
<?php echo $relatedPost->post_content ?> <?php echo do_blocks($relatedPost->post_content) ?>
</section> </section>