WordPress.org

Ideas

Comment at top of posts

  1. tonynoriental
    Member

    I've been trying to come up with a way to put comments on posts at the top of the post the writer is commenting on -- rather than at the bottom. While I'm sure this won't be everyone's cup of tea, it would work for me in keeping my blog looking fresh and new. Can anyone tell me the coding for doing this???? I use a Wucco (spelling) theme at http://www.pamlicoink.com/blog

    Posted: 7 years ago #
  2. charlieman
    Member

    12345

    This can be easily done by just a few changes in your theme. In single.php move the

    <?php comments_template(); ?>

    line to the upper part somewhere after "while (have_posts()):"
    In the default theme it would be just before this line:

    <div class="post" id="post-<?php the_ID(); ?>">

    Probably your theme is gonna need a little arrangement after that.

    Posted: 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    2 Votes
  • Status

    This is theme territory