Show Post Comments on the Homepage Twenty Ten

The Twenty Ten theme uses loop function to show posts on the homepage or category pages.

The novice users might find it difficult to work with loop.php

If you want to show the list of comments & comment form for each of the blog posts on the homepage of the blog, just add the following line of code

global $withcomments; $withcomments = 1;

just before

get_template_part( 'loop', 'index' );
This entry was posted in General. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *