Support » Fixing WordPress » Ascending Comments

  • I just instaled the newest version of WordPress 1.2 Mingus. I’ve installed in, configured it, and edited the template. The absolute LAST thing I need to do is make the comments display as Ascending (showing the first comment on top, right?). I see no option for this in the administration area. Am I missing something?

Viewing 1 replies (of 1 total)
  • It’s sounds strange to me. In my instalation the first comment display first and the last comment display last. BTW, i need to change this to see my last comments first, and do this putting the word “DESC” after the SQL instruction on both php archives (wp-comments.php and wp-comments-popup.php)
    From
    $comments = $wpdb->get_results(“SELECT * FROM $wpdb->comments WHERE comment_post_ID = ‘$id’ AND comment_approved = ‘1’ ORDER BY comment_date”);
    To
    $comments = $wpdb->get_results(“SELECT * FROM $wpdb->comments WHERE comment_post_ID = ‘$id’ AND comment_approved = ‘1’ ORDER BY comment_date DESC”);

Viewing 1 replies (of 1 total)
  • The topic ‘Ascending Comments’ is closed to new replies.