by Hiroshi on November 22nd, 2008
Comments are very important part of a blog. Some developers use WordPress as their primary CMS to build websites and sometimes client do not need comments section at all, because he needs a website and not a blog. Comments section can be removed from your blog in a very simple way.
Just edit your single.php file from your theme.
Find the following line:
<?php comments_template(); ?>
Delete it.
6 Reviews
Leave a Review
Incoming Searches
wordpress remove comments, remove comments wordpress, remove comments from wordpress, how to remove comments from wordpress, wordpress how to remove comments, wordpress remove comment, word press how to remove comment, php remove comments, php remove comment, remove comments on wordpress, remove posted in wordpress, removing comment loop from wordpress themes, word press removing posted in, wordpress hide Posted in, remove the comments from wordpress, removing the comment loop wordpress, removing comments wordpress, remove wordpress comment loop, remove wordpress comments, remove wordpress comments php, removing comments in wordpress, removecomments wordpress, removing comments from wordpress theme, wordpress add remove comments in php, wordpress remove subscribe section, wordpress remove Posted in Uncategorized | Comments, wordpress remove posted in, wordpress remove posted by php, wordpress remove comments from page, wordpress remove comment section in post, wordpress remove comment reply, wordpress totally remove comments comments php, wordpress remove adverisement from specific page, wordpress posts remove comments php, wordpress hide comments, wordpress disable comments on guestbook, wordpress disable admin sections, wordpress delete comments loop, wordpress delete comments feed, wordpress delete comment info, wordpress removing comments, remove rss feed with php, how to remove comments loop wordpress, how to remove comments from wordpress theme, how to remove comment wordpress, How to remove comment section from wordpress, how to delete comments in wordpress, how to delete comments at once on your wordpress website, how do i remove the comment part in wordpress, hide comment section on wordpress for a specific page, enable comments wordpress guestbook, disable wordpress hide comments in admin, disable comments in wordpress, delete the posted by section on wordpress pages, delete comments from page php, delete comment wordpress, comments remove in wordpress, how to remove comments on wordpress, how to remove comments option from the wordpress blog, remove posted on wordpress, remove posted in comments all posts wordpress, remove comments tag in wordpress, remove comments scripts wordpress, remove comments loop wordpress, remove comments in wordpress posts, REMOVE comments FROM WORDPRESS BLOG, remove comments from single php wordpress, remove comment loop wordpress, remove comment from wordpress, php remove comment line, php comment section, php comment remover, how to remove comments wordpress, how to remove comments option from wordpress, allow comments to all in the php script section



[...] here to read the rest: Remove Comments Section From Your WordPress Blog | PHP Magic Book … This entry was posted on Saturday, November 22nd, 2008 and is filed under WordPress News. You [...]
Is there a way to remove the comment section only in certain pages? I would much appreciate any help.
Thanks a lot,
@maskofZoro: Yes. At every post or page there you will find in admin, an option, allow comments. Use that to allow or disallow comments at certain pages in WordPress.
@King:
I meant, is it possible to remove even that “comments not allowed” when you disallow comments, but only from certain pages.
Thanks
@maskofZoro: Yes. Remove “comments not allowed” line from comments.php in blog theme file.
Thank you very much for that great article.