Title: Remove Comments Link
Last modified: August 18, 2016

---

# Remove Comments Link

 *  [Imperial](https://wordpress.org/support/users/imperial/)
 * (@imperial)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/remove-comments-link/)
 * I have looked through the fourms, and have found 50 different ways to do the 
   same thing. I am confused as hell to say the least.
 * 1. What file do I edit?
    2. What code can I copy and paste into that file to 
   no longer have links to comments?
 * And yes, my comments are disabled.
 * Thank you very much!

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/remove-comments-link/#post-607573)
 * 1. All the files where the comment-link is present.
    2. You **delete**, don’t
   add.
 * Alltogether there are only 2 kinds of code lines related to comments in the template
   files.
 * a) for displaying the comment link:
    `<?php comments_popup_link('Add a comment»','
   1 Comment »', '% Comments »'); ?>` – or something similar; the wording might 
   slightly differ for the display text
 * b) for including the comments template:
    `<?php comments_template(); // Get wp-
   comments.php template ?>`
 * That’s it.
 *  Thread Starter [Imperial](https://wordpress.org/support/users/imperial/)
 * (@imperial)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/remove-comments-link/#post-607608)
 * I can delete my entire comments.php file and nothing changes. It doesnt look 
   like the problem is in my comments.php file.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/remove-comments-link/#post-607610)
 * Man, you have a reading difficulty!
    Did I mention to do anything with that file?
 * I said:
    **1. All the files where the comment-link is present.** Which means 
   going through the files and search for the two strings I gave you above: index.
   php archive.php page.php etc.
 *  Thread Starter [Imperial](https://wordpress.org/support/users/imperial/)
 * (@imperial)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/remove-comments-link/#post-607620)
 *  Thread Starter [Imperial](https://wordpress.org/support/users/imperial/)
 * (@imperial)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/remove-comments-link/#post-607621)
 * Did what you said. Again, nothing changed.
 *  [whiteboxer](https://wordpress.org/support/users/whiteboxer/)
 * (@whiteboxer)
 * [18 years, 7 months ago](https://wordpress.org/support/topic/remove-comments-link/#post-607872)
 * I’m trying to remove the comments code and a weird thing happens when I do. The
   posts end up displaying in the footer area, even though the code looks like its
   ok. Here’s some links to see what I’m referring to:
 * post page with comments: [http://www.drgbrokerage.com/?p=1](http://www.drgbrokerage.com/?p=1)
 * archive page with comments removed: [http://www.drgbrokerage.com/?m=200709](http://www.drgbrokerage.com/?m=200709)
 * the red box is the content div where the post should be. The black box is the
   footer. Anyone have any idea what I’m likely overlooking?

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

The topic ‘Remove Comments Link’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [whiteboxer](https://wordpress.org/support/users/whiteboxer/)
 * Last activity: [18 years, 7 months ago](https://wordpress.org/support/topic/remove-comments-link/#post-607872)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
