Show comments on homepage posts without showing comment form
I would like to show comments on the posts of the homepage. The code below does it, but it also shows the comment form. I do not want the comment form shown on the homepage.
<?php global $withcomments; $withcomments = 1; comments_template(); ?>
I also want to limit the comments per post shown on the homepage to the latest 3, limiting the comments to 150 characters before showing ‘…’, if the person writes a long comment.
- The topic ‘Show comments on homepage posts without showing comment form’ is closed to new replies.