Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Remove Comments, Responses and Recent Posts Links on most pages WordPress

I do not need Comments and Responses on any pages of the site. How do I remove this? Is it a matter of commenting out the command on the parent theme?


Answers (7)

2012-06-04

Francisco Javier Carazo Gil answers:

Look at this plugin: http://wordpress.org/extend/plugins/bulk-delete/


Francisco Javier Carazo Gil comments:

If you want to delete comments and response to a specific page, massively directly from SQL use this query:

DELETE FROM wp_comments WHERE comment_post_ID = 'ID_POST_YOU_WANT_DELETE_COMMENTS'


This id of post can also be a page, only find his id.


Francisco Javier Carazo Gil comments:

If you want to remove the option to make comments, you have to template and then in single.php find comments_template() and show it depending a condition you can create:

if(get_the_ID() != ID_PAGE_NOT_COMMENT)
comments_template();

2012-06-04

Daniel Yoen answers:

on single.php

remove this line :

<?php comments_template(); ?>

hope this help :)

2012-06-04

Jerson Baguio answers:

Its under settings -> discussion to enable or disable the comments

2012-06-04

Nilesh shiragave answers:

if you don't want that on pages then open page.php from your active theme folders and remove following line


<?php comments_template(); ?>

2012-06-04

Arnav Joy answers:

please see this

http://en.blog.wordpress.com/2006/09/11/comments-on-pages/


Arnav Joy comments:

please also have a look in this plugin

http://wordpress.org/extend/plugins/show-hide-commentform

2012-06-04

petrisor Daniel answers:

If you want to remove comments just from pages(like contact or about us) you need to delete this line* from page.php in your wp-admin teme editor.
If you want to remove comments form articles too delete this line* from single.php

* <?php comments_template(); ?>


petrisor Daniel comments:

Recent posts are in sidebar?

2012-06-04

Vincent King answers:

Go to settings -> discussion disable comments!