Ascending Comments (2 posts)

  1. JimP
    Posted 12 years ago #

    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?

  2. Anonymous
    Posted 11 years ago #

    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)
    $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$id' AND comment_approved = '1' ORDER BY comment_date");
    $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = '$id' AND comment_approved = '1' ORDER BY comment_date DESC");

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.