• I would like to have a widget for my sidebar that displays posts in order by which one has the most recent comment. So, if an old post from two years ago receives a new comment, that post now appears at the top of the list.

    It seems like a very simply thing, but I haven’t been able to find a solution anywhere. Maybe it’s been the way I’ve been searching, but I only seem to come across other solutions for displaying recent comments, and not displaying the post title.

Viewing 1 replies (of 1 total)
  • The native Recent Comments widget does display the post’s title in each case. In theory, you could hide the “<foo> on” fragment using CSS to leave just the link to be displayed. But the bad news is that the link will go to the comment – not the post itself. If that’s not suitable for your purposes, then you might want to have a look at building your own custom widget that extends the Recent Comments one.

Viewing 1 replies (of 1 total)
  • The topic ‘Sidebar widget sort posts by most recent comment’ is closed to new replies.