Title: wp_list_comments
Last modified: August 22, 2016

---

# wp_list_comments

 *  Resolved [deepgc](https://wordpress.org/support/users/deepgc/)
 * (@deepgc)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/)
 * Hello,
 * I am trying to develop a simple blog using the Corner Theme.
 * On the main page, I wanted the full text of the posts to be made so I edited 
   the Main Index Template with the following:
 *     ```
       <body> <?php the_content(); ?> </body>
   
       <?php
       wp_list_comments( array( 'type' => 'comment' ), $comments ); ?>
       ```
   
 * However, when I add the comments, I get a reply button on the bottom which doesn’t
   do anything, and I could do with it being deleted if possible?
 * Help!

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

 *  [a2ztechnologies](https://wordpress.org/support/users/a2ztechnologies/)
 * (@a2ztechnologies)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912208)
 * Hi.,
 * all code must in the body tag
 * Try this
 *     ```
       <body>
       <?php the_content(); ?>
       <?php wp_list_comments( array( 'type' => 'comment' ), $comments ); ?>
       </body>
       ```
   
 *  Thread Starter [deepgc](https://wordpress.org/support/users/deepgc/)
 * (@deepgc)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912209)
 * That didn’t work,
 *     ```
       <body>
   
       <?php the_content(); ?>
       <?php wp_list_comments( array( 'type' => 'comment'), $comments ); ?>
   
       </body>
       ```
   
 * I need the reply button deleting, see : [http://blog.mychoons.com](http://blog.mychoons.com)
 *  [a2ztechnologies](https://wordpress.org/support/users/a2ztechnologies/)
 * (@a2ztechnologies)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912210)
 * Hi deepgc.,
 *     ```
       <body>
       <?php the_content(); ?>
       <?php comments_template(); ?>
       </body>
       ```
   
 * Try this one
 *  Thread Starter [deepgc](https://wordpress.org/support/users/deepgc/)
 * (@deepgc)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912211)
 * The above doesn’t display any comments at all :/
 *  [a2ztechnologies](https://wordpress.org/support/users/a2ztechnologies/)
 * (@a2ztechnologies)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912217)
 *     ```
       <?php if( have_posts() ){
       	while( have_posts() ){ the_post();?>
       	<h3><?php the_title();?></h3>
       	<?php the_content();?>
       	<?php comments_template(); ?>
       	<?php }
       }?>
       ```
   
 * Finally 🙂
 *  Thread Starter [deepgc](https://wordpress.org/support/users/deepgc/)
 * (@deepgc)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912220)
 * ^ That seemed to put the php on a constant loop,
 * It kept repeating the same post, yet at the same time the comments_template()
   function does not appear to do anything?
 *  [a2ztechnologies](https://wordpress.org/support/users/a2ztechnologies/)
 * (@a2ztechnologies)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912223)
 * [http://blog.mychoons.com/whatismychoons](http://blog.mychoons.com/whatismychoons)
 * Its working
 *  Thread Starter [deepgc](https://wordpress.org/support/users/deepgc/)
 * (@deepgc)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912224)
 * It’s the front page I was hoping to correct, the post itself is fine. On the 
   front page I’d like a list of posts with the content and comments, but without
   a reply button on the front page.
 *  [a2ztechnologies](https://wordpress.org/support/users/a2ztechnologies/)
 * (@a2ztechnologies)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912227)
 * Ok use another trick
 *     ```
       <?php if( is_home() ){?>
       <style type="text/css">
       .comment-reply-link{ display:none; }
       </style>
       <?php }?>
       ```
   
 * Paste on your footer.php
 * if you don’t want replay link on home page
 *  Thread Starter [deepgc](https://wordpress.org/support/users/deepgc/)
 * (@deepgc)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912232)
 * I think I’m just going to leave the comments off the front page. I’ve just added
   a new post and it’s also including the comments from the first post under the
   second post.
 * Never mind, thanks for your help anyway 😉

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

The topic ‘wp_list_comments’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [deepgc](https://wordpress.org/support/users/deepgc/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/wp_list_comments-5/#post-5912232)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
