How to Show Comments on the Homepage of Your WordPress Site
In our last project UltraSnaps, there is a need to show comments on the homepage as we want to display only one post with comment form encouraging visitors interact. Here is the demo link – http://ultrasnaps.ultrahumor.com/
We have found lots of users are also searching the solution to this so we’d like to share here.
Inside the loop right before endwhile, simply add the following code:
$withcomments = "1";
comments_template(); // Get wp-comments.php template ?>
Line2 & 3 make the magic happen.