Title: Remove Leave a Reply/Comments
Last modified: August 20, 2016

---

# Remove Leave a Reply/Comments

 *  [pamr](https://wordpress.org/support/users/pamr/)
 * (@pamr)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/)
 * I’ve been trying to remove the “leavy a reply” section as well as the “no comments”
   link under the title for hours. I’m currently using the full width page without
   sidebar. I’ve tried deleting this code from index.php and single.php, but nothing
   works: <?php comments_template(); ?>
    [http://test.worryfreeclaims.com/works](http://test.worryfreeclaims.com/works)

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

 *  [TheMarque](https://wordpress.org/support/users/themarque/)
 * (@themarque)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693051)
 * You need to go to the editor and find the page template (probably page.php) and
   delete this code from it:
 * `<?php comments_template(); ?>`
 *  Thread Starter [pamr](https://wordpress.org/support/users/pamr/)
 * (@pamr)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693053)
 * I’ve tried doing that but it’s still not working. Here’s the page’s code. I’m
   thinking it has to do with some of the code above the line you provided?
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  [TheMarque](https://wordpress.org/support/users/themarque/)
 * (@themarque)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693059)
 * You need to use the pastbin to paste code. [http://pastebin.com/](http://pastebin.com/)
   
   Do that and try again.
 *  Thread Starter [pamr](https://wordpress.org/support/users/pamr/)
 * (@pamr)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693064)
 * Let’s try this again. Sorry! [http://pastebin.com/pDMWvXYy](http://pastebin.com/pDMWvXYy)
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693230)
 * No, don’t do that! Also never modify any Theme directly if it’s not a Child Theme.
 * Please see [http://themeid.com/forum/post/3959/#p3959](http://themeid.com/forum/post/3959/#p3959)
   and if you have any other questions feel free to post on our forum directly.
 * Thanks,
    Emil
 *  [TheMarque](https://wordpress.org/support/users/themarque/)
 * (@themarque)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693268)
 * Looks resolved!
 *  Thread Starter [pamr](https://wordpress.org/support/users/pamr/)
 * (@pamr)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693270)
 * I managed to fix it on that page, but not the homepage ([http://test.worryfreeclaims.com](http://test.worryfreeclaims.com)).
   Any ideas? It’s making me crazy!
 *  [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * (@emiluzelac)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693282)
 * Please see [http://wordpress.tv/2009/01/05/setting-your-discussion-settings/](http://wordpress.tv/2009/01/05/setting-your-discussion-settings/)
 * Thanks,
    Emil

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

The topic ‘Remove Leave a Reply/Comments’ is closed to new replies.

## Tags

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

 * 8 replies
 * 3 participants
 * Last reply from: [Emil Uzelac](https://wordpress.org/support/users/emiluzelac/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/remove-leave-a-replycomments/#post-2693282)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
