Forums

Display most recently commented posts? (3 posts)

  1. roddy
    Member
    Posted 4 years ago #

    I’m setting up a site based around WP 1.5 (which is working fine and as easy to use as ever) which will have a very large volume of posts – probably in the region of 100 daily. To make this more manageable, I would like to be able to allow users to view posts which have already attracted comments – ie, that someone has already found interesting enough to respond to.

    I’ve looked at the recent comments plug in, and recent posts, but neither of them do quite what I’m looking for – I want, effectively, what looks like a category page, displaying only posts which have comments, ordered by date of most recent comment. In a way this would function almost like a forum, with a post jumping to the top every time it got a new comment.

    What I’m thinking of doing at the moment is hacking the comments script so while adding the comment to the database it also adds the post to a ‘commented’ category. However, I’m not sure how I’d get that category to display ordered by date of most recent comment.

    I’m fairly sure I can hack something together, but I’m not so familiar with the inner workings of WP, and I reckon I’d only come up with an ugly, inefficient solution – so, any ideas on how I should do this?

  2. mdawaffe
    Member
    Posted 4 years ago #

    coffee2code's Customizable Post Listings should do the trick. I think the version on his site is a bit out of date. At least, the one on http://wp-plugins.org is newer.

    Put that in a customized template, make a page which calls that template and your set.
    http://codex.wordpress.org/Pages

  3. roddy
    Member
    Posted 4 years ago #

    Oh, that looks like it might save me a whole load of headaches . . .

    Many thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.