Title: removing footer from comment.php
Last modified: August 18, 2016

---

# removing footer from comment.php

 *  [borge](https://wordpress.org/support/users/borge/)
 * (@borge)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/removing-footer-from-commentphp/)
 * Is there any way to do this.. If you click the post title it will open just the
   one post you clicked and the footer. Is there a way to open just the post without
   the footer and still remain the footer in the index.php?

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

 *  [kickass](https://wordpress.org/support/users/kickass/)
 * (@kickass)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/removing-footer-from-commentphp/#post-234275)
 * Just remove the footer call from the single.php file. It looks like this:
 * `<?php get_footer(); ?>`
 *  Thread Starter [borge](https://wordpress.org/support/users/borge/)
 * (@borge)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/removing-footer-from-commentphp/#post-234408)
 * comments.php doesn’t have it. And I can’t remove footer from the index. Do I 
   have to move all the content from the footer to the index.. that means a lot 
   to do with css, but if that’s the only way..?
 *  Thread Starter [borge](https://wordpress.org/support/users/borge/)
 * (@borge)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/removing-footer-from-commentphp/#post-234409)
 * I should learn to read more carefully sorry. My template doesn’t have single.
   php file?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/removing-footer-from-commentphp/#post-234413)
 * Make one. Save your index.php as `single.php` into the theme folder. (Note, the
   term is _theme_ and all the files in it are templates 🙂
    After that edit it 
   as you like.
 *  Thread Starter [borge](https://wordpress.org/support/users/borge/)
 * (@borge)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/removing-footer-from-commentphp/#post-234577)
 * GREAT! thank you moshu
 *  [Lorelle](https://wordpress.org/support/users/lorelle/)
 * (@lorelle)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/removing-footer-from-commentphp/#post-234579)
 * Ah, remember, that if you remove your theme’s `footer.php`, many tags that open
   in the header and elsewhere CLOSE in the footer. Those will have to be added 
   and/or closed in the last thing you use, like the single.php or you will get 
   lots of validation errors.
 * You can also use a `footer1.php` with a PHP include to that second footer in 
   the single.php if you want to keep your footer for the rest of the pages. See
   [http://codex.wordpress.org/Stepping_Into_Templates](http://codex.wordpress.org/Stepping_Into_Templates)

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

The topic ‘removing footer from comment.php’ is closed to new replies.

## Tags

 * [templates](https://wordpress.org/support/topic-tag/templates/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 4 participants
 * Last reply from: [Lorelle](https://wordpress.org/support/users/lorelle/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/removing-footer-from-commentphp/#post-234579)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
