-2

I'm designer with little knowledge of wordpress (newbie >_<)

i use Worpress starter theme from : html5blank.com

i want to separate COMMENT section from POST section, this still on one single.php page. I have look link but didnt worked for me ( look like because theme hirarcy of Twenty Eleven and my theme (html5blank) diferent ),

here the design of the web : https://plus.google.com/110670554739072533922/posts/B2erhKgkZVc

  • POST section
  • Related Post section
  • Comment section ---> (1) i want to separated this
3
  • @toscho im new to wordpress and stackexchange, thankyou for the revisionn, (1) its ok u remove word "wordpress" on title and <wordpress.org> tag. (2) but what i dont know why u remove "thankyou :)" from my question. is it wrong to express "thanks" to other ? Commented Apr 16, 2015 at 19:43
  • im going to try edit the css to disguise the visual using : start LOOP <post> <related post> <comment> /end LOOP. Commented Apr 16, 2015 at 19:53
  • 1
    Salutations are seen as "noise" here, we like to scan posts as fast as possible.
    – fuxia
    Commented Apr 16, 2015 at 23:10

1 Answer 1

0

ahaaa :D 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.