Home Forums Plugin Support WP User Frontend (Free Version) Frontend Comment Manager order of display comments

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Sekander Badsha 4 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23027

    aldlall
    Participant
    Post count: 5

    i am purchase Frontend Comment Manager
    I want to be the order of display comments from the new date to the old date

    #23052

    Sekander Badsha
    Member
    Post count: 2067

    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.

    #23205

    aldlall
    Participant
    Post count: 5

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

    #23245

    Sekander Badsha
    Member
    Post count: 2067

    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 4 posts - 1 through 4 (of 4 total)

The topic ‘Frontend Comment Manager order of display comments’ is closed to new replies.