Title: remove comments
Last modified: August 19, 2016

---

# remove comments

 *  Resolved [rghartford](https://wordpress.org/support/users/rghartford/)
 * (@rghartford)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/)
 * How do you remove the comments section completely form the layout?

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1941927)
 * make sure to have/make a backup copy of your theme.
 * as a start, look through all the theme template files, and look for `comments_popup_link()`
   and `comments_template()` and remove the code inclusive the corresponding surrounding
   html tags.
 * details depend on your theme.
 * and disable comments in ‘settings’ ‘discussion’,
    and for the individual posts
   and pages.
 * [http://codex.wordpress.org/Function_Reference/comments_popup_link](http://codex.wordpress.org/Function_Reference/comments_popup_link)
   
   [http://codex.wordpress.org/Function_Reference/comments_template](http://codex.wordpress.org/Function_Reference/comments_template)
 *  Thread Starter [rghartford](https://wordpress.org/support/users/rghartford/)
 * (@rghartford)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1941932)
 * To be more clear. Can you remove the comments section from a template?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1941935)
 * which template?
 * look for ‘comments_template()’ within the template file;
 * to identify the used template, have a look at [http://codex.wordpress.org/Template_Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
 *  Thread Starter [rghartford](https://wordpress.org/support/users/rghartford/)
 * (@rghartford)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1942041)
 * Thank you. I am a novice so please bear with me.
    I have installed the theme “
   Motion”by Volcanic. I just wiped out everything and had to call my host to redo
   everything. They tried to help me get rid of the comment section but could not
   help me. Can you help with some instructions more specific to this theme? I finally
   figured out how to get to the code through the editor but am now scared to try
   anything. Thank you.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1942054)
 * it is really quite straight forward:
 * this is the code section with ‘comments_popup_link()’:
 * `&mdash; <?php comments_popup_link( __( 'Leave a comment', 'motion_theme' ), 
   __( '1 Comment', 'motion_theme' ), __( '% Comments', 'motion_theme' ) ) ?>`
 * it is exactly the same in a few template files – remove this from:
    – archive.
   php – home.php – index.php – image.php
 * this is the code section with ‘comments_template()’:
 *     ```
       <div id="comments">
       <?php comments_template( '', true ); ?>
       </div><!-- /comments -->
       ```
   
 * it is exactly the same in a few template files – remove this from:
    – page.php–
   page-with-sidebar.php – single.php
 * this should remove any trace of comments from your theme.
 * as this is a free downloadable theme, you can’t really make any un-repairable
   mistake.
    i suggest that you download and safe-keep a copy on your local computer.
 *  Thread Starter [rghartford](https://wordpress.org/support/users/rghartford/)
 * (@rghartford)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1942056)
 * I think I did it. I deleted the whole code on the comments page and a line on
   the page section and it appears to be gone so we can close this for now.
 *  Thread Starter [rghartford](https://wordpress.org/support/users/rghartford/)
 * (@rghartford)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1942057)
 * Oh i didn’t get your post until just now. I will look it over as I am sure it
   will be useful.
    Thank you
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1942058)
 * way better if you did it your self – there was not too much to go wrong anyway
   😉
 *  Thread Starter [rghartford](https://wordpress.org/support/users/rghartford/)
 * (@rghartford)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1942072)
 * That’s so nice of you to say.
    I do have one more question for now. I want this
   to be my web page not a blog. [http://www.Mytherpaistdc.com](http://www.Mytherpaistdc.com)
   There are so many things I don’n want showing. Should I find a more suitable 
   Theme since I don’t really know what I’m doing? I did my original by myself [http://www.roberthartford.com](http://www.roberthartford.com)
   and I want it basically the same but I needed to find a better host that supported
   more script for SEO since I couldn’t even upload a facebook link. i think it 
   only supported java and nothing else. Any input would be appreciated. Robert
 *  Thread Starter [rghartford](https://wordpress.org/support/users/rghartford/)
 * (@rghartford)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1942185)
 * just checking

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

The topic ‘remove comments’ is closed to new replies.

 * 10 replies
 * 2 participants
 * Last reply from: [rghartford](https://wordpress.org/support/users/rghartford/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/remove-comments-1/#post-1942185)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
