Display most recent comment for each post in index.php?
Hi, I’ve found many plugins/php code to display recent comments on the sidebar, but I’m just looking to place the latest comment for a post right below the actual post in the index.php page. I’ve been searching for a way to do this, but with no luck.
I tried using this tag in the index.php:
<?php $withcomments = true; comments_template();?>
but it makes every comment related to the post appear and the comment form, which I don’t want.
Any help is appreciated. Thanks!
- The topic ‘Display most recent comment for each post in index.php?’ is closed to new replies.