fixing children blocks display by using do blocks
This commit is contained in:
parent
c222292817
commit
4e49408762
File diff suppressed because one or more lines are too long
|
|
@ -6,5 +6,6 @@ $relatedPost = get_post($relatedPostId);
|
|||
|
||||
<section id="questions-container-<?php echo $relatedPostId ?>" class="questions-container-block">
|
||||
<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>
|
||||
|
|
@ -6,5 +6,6 @@ $relatedPost = get_post($relatedPostId);
|
|||
|
||||
<section id="questions-container-<?php echo $relatedPostId ?>" class="questions-container-block">
|
||||
<h2 class="questions-container-block__title"><?php echo $relatedPost->post_title ?></h2>
|
||||
<?php echo $relatedPost->post_content ?>
|
||||
<!-- <?php echo $relatedPost->post_content ?> -->
|
||||
<?php echo do_blocks($relatedPost->post_content) ?>
|
||||
</section>
|
||||
Loading…
Reference in New Issue
Block a user