WordPress.org

Support

Support » How-To and Troubleshooting » sorting comments in reverse

sorting comments in reverse

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’d like to know this too! Any answers anyone? I’m sure this is as easy as changing the SQL (adding “order by … desc”) but not sure where the SQL is.

    OK, found it! There are 3 “Select” statements in the
    “wp-includes\comment-template.php” file – around line 290. I have changed all 3 to have ” DESC” at the end. This will reverse the default (Ascending) sort order.

    PS. this is version 2.3.1

    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sorting comments in reverse’ is closed to new replies.
Skip to toolbar