Title: deleting code for posts and comments
Last modified: August 19, 2016

---

# deleting code for posts and comments

 *  [melanie bund](https://wordpress.org/support/users/melanie-bund/)
 * (@melanie-bund)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/deleting-code-for-posts-and-comments/)
 * am using the twentyten template and would like to know how to take out the posts
   and comments as the page should not look like a blog
    thanks melanie

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/deleting-code-for-posts-and-comments/#post-1879455)
 * **Don’t edit the Twenty Ten theme!** Your changes **will** be over-written the
   next time you upgrade WordPress or the theme. For this reason, it is recommended
   that you consider creating a [child theme](http://codex.wordpress.org/Child_Themes)
   for your customisations.
 *  Thread Starter [melanie bund](https://wordpress.org/support/users/melanie-bund/)
 * (@melanie-bund)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/deleting-code-for-posts-and-comments/#post-1879459)
 * thanks so much for the fast reply – was so surprised – will try this…
    thanks
   again
 *  Thread Starter [melanie bund](https://wordpress.org/support/users/melanie-bund/)
 * (@melanie-bund)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/deleting-code-for-posts-and-comments/#post-1879463)
 * but sorry next question if i do create a child theme do i just in css
    comment
   out the /* #comments {…. */ and the in the page.php comment out >!–<?php comments_template(”,
   true ); ?>–> ? i read that i could just take out
 *  * <?php the_time(‘F jS, Y’) ?><?php edit_post_link(‘, Edit’); ?>
    * <div class
   =”comm”><?php comments_popup_link(‘Post Comment’, ‘Comments (1)’, ‘Comments (%)’);?
   ></div>
 * but this i cant find anywhere in the index or page or single page.php
    thanks
   melanie
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/deleting-code-for-posts-and-comments/#post-1879523)
 * You need to create copies of these template files in your child theme. You can
   then edit the copies as much as you like.
 * Your “missing code” block is probably in the parent’s loop.php template file.

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

The topic ‘deleting code for posts and comments’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [delete code](https://wordpress.org/support/topic-tag/delete-code/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/deleting-code-for-posts-and-comments/#post-1879523)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
