WordPress.org

Ready to get started?Download WordPress

Forums

Comments sorted by date (2 posts)

  1. CyrilJones
    Member
    Posted 8 years ago #

    Hello!

    At my site: http://www.noordkopwaterpolo.com I was wondering how I could make new comments to be posted above the old ones... Because if you post a comment now it shows beneath a older one and thats not what I want. Because the newest comment needs to be the first one showing up...

    Thanks!

    Cyril

  2. zeroK
    Member
    Posted 8 years ago #

    Ugly solution? Open the comments.php of your theme, search for following text:

    <?php foreach ($comments as $comment) : ?>

    and replace it with

    <?php foreach (array_reverse($comments) as $comment) : ?>

    Should do the trick ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags