Title: Show comments on index.php ?
Last modified: August 18, 2016

---

# Show comments on index.php ?

 *  [yazerty](https://wordpress.org/support/users/yazerty/)
 * (@yazerty)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/)
 * Hello,
 * I ‘d like that comments of a post be juste after the post on the index.php. I’d
   like to show comments on index.php just after each post.
 * But I don’t want to have the form also. I don’t want it on my index.php (too 
   heavy).
 * I ‘ve put this in index.php in the posts loop, mais this doesn’t work at all (
   nothing happends) 🙁 :
 * `<?php comments_template(); ?>`
 * How could I do to show comments of each post on the index.php (but no the form
   to post a comment) please 😕

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Thread Starter [yazerty](https://wordpress.org/support/users/yazerty/)
 * (@yazerty)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/#post-567235)
 * If I put this :
 *     ```
       <?php $wp_query->is_single = true; ?>
       <?php comments_template(); ?>
       ```
   
 * this show the dafult comments template.
 * Could I make another version of comments.php ? Could I use comments-popup to 
   make it ?
 *  Thread Starter [yazerty](https://wordpress.org/support/users/yazerty/)
 * (@yazerty)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/#post-567373)
 * Mmm, that doesn’t work at all with it, because <?php $wp_query->is_single = true;?
   > show my posts on index.php like they were on the single page. So, it’s bad 
   for long posts :-/
 * Is there anybody who have a solution please ??
 *  Thread Starter [yazerty](https://wordpress.org/support/users/yazerty/)
 * (@yazerty)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/#post-567552)
 * nobody 🙁 ?
 *  [h9k](https://wordpress.org/support/users/h9k/)
 * (@h9k)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/#post-567661)
 * I also wish to have comments listed after the post on the main page. This would
   be a great feature. somebody please hack 🙂
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/#post-567662)
 * Well, if you read the posts above – the solution has been posted. Of course, 
   as with every hack, there is a trade-off: if you define your main page as “single”
   the more link or excerpt will not work on it.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/#post-567663)
 * p.s.
    And if that’s not enough… use the serach button: [http://wordpress.org/search/comments+on+index?forums=1](http://wordpress.org/search/comments+on+index?forums=1)
 *  [h9k](https://wordpress.org/support/users/h9k/)
 * (@h9k)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/#post-567664)
 * i tried to follow but couldnt get it to work.
    i could possibly do with a more
   simple explanation with where to inject the code and on what php file.

Viewing 7 replies - 1 through 7 (of 7 total)

 The topic ‘Show comments on index.php ?’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [h9k](https://wordpress.org/support/users/h9k/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/show-comments-on-indexphp-2/#post-567664)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
