[Solved] Separated Comment from Post


ahaaa 😀
it’s success, I use CSS.
Here the screenshot Separated comment from post page

the code i use on single.php :

<!-- post section -->
<section class="post-section all-round grid">
    <div class="content_wrapper">
        <!-- YOUR CONTENT -->
    </div>
</section>
<!-- end .post-section -->

<!-- comment section -->
<section class="comment-section all-round grid">
    <?php if ( comments_open() || get_comments_number() ) : ?>
    <?php comments_template(); ?>
    <?php endif; ?>
</section>
<!-- end .comment-section -->

<?php endwhile; ?>
<?php else: ?>

CSS code :

/* SECTION TO SEPARATE POST AND COMMENT */

.post-section, .comment-section  {
    background-color: white;
    width: 900px;
    margin:20px auto;
}

the schema :

  • LOOP
  • < Post >
  • < Comment Section >
  • END LOOP

solved Separated Comment from Post