WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sort by most recent (3 posts)

  1. SystemMonitor
    Member
    Posted 2 years ago #

    What I want to happen is, if a user makes a comment, it will add the comment to the post (obviously) and then modify the post_modified column of the post in the wp_posts table to the time that the comment was posted. Essentially it will make wordpress much more like a forum.

    I have been looking around in wp-comments-post.php and query.php but I have not found anything. I assume that it probably isn't that complicated to do. Can someone help me out here?

  2. SystemMonitor
    Member
    Posted 2 years ago #

    Ok. After continuing research I found some more information.

    It appears that there is a solution in this thread http://wordpress.org/support/topic/sort-posts-in-the-loop-by-recent-comments-or-activity?replies=10. I am not sure which files to put the code in. Could someone help me out here?

  3. SystemMonitor
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic