Frontend Comment Manager order of display comments

This topic contains 3 reply and 2 voices, and was last updated by Sekander Badsha 9 years, 8 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
July 6, 2014 at 4:00 am 23027
Sekander Badsha i am purchase Frontend Comment Manager I want to be the order of display comments from the new date to the old date
July 6, 2014 at 5:35 pm 23052
Sekander Badsha Sekander Badsha

Hello Aldlall,
To sort the comments depending on date you need to open comments.php which can be found at “\wp-content\plugins\wpuf-comment-mamager\” and go to line number 402, write ORDER BY c.comment_ID DESC and save.

The so the whole thing from line number 401 to 404 would look like after editing

$query
p.post_type='$post_type'
ORDER BY c.comment_ID DESC
LIMIT $offset,$limit"

Let me know if you feel anymore difficulties.

July 9, 2014 at 12:00 am 23205
aldlall aldlall

Thanks dear
How changing the comments Date Format to “3 Hours Ago” (etc) ?

July 9, 2014 at 8:35 pm 23245
Sekander Badsha Sekander Badsha

You’re posting in a wrong forum. As you’re a customer of User Frontend Pro, you should not post on the free plugins thread. Please post on the Pro’s Forum.

And for changing the comment time to hours follow the WordPress Codex: http://codex.wordpress.org/Function_Reference/comment_time

Viewing 3 Posts - 1 through 3 (of 3 total)