1 Aug
It requires 2 steps. Modifying the theme code and install a plugin that would stop anyone from using the wordpress comment php script.
1.) Turn off the display of the comment form in your Comments file in your template. To do this, go to “Presentation” -> “Theme Editor” then edit the Comments file. Find the part in the file that looks like this (it is probably slightly different, depending on what theme you’re using):
[code]comment_status) : ?>
[/code]
Change it to this:
[code]comment_status) : ?>
Comments are temporarily disabled
[/code]
2.) Either rename your wp-comments-post.php file (in the root of your WordPress directory) to something unguessable like betyoucantguessthis.php OR install this plugin that can temporarily disable all comments but choose to still allow trackbacks and / or pingbacks.
The second step is necessary because spammers don’t need to visit your comment form to be able to post comments.
I did this research because I will be going away for a week to Taiwan and Hong Kong. So there won’t be any articles and comments would be turned off.
: Copying this article to your website is strictly NOT allowed. However, if you like this article, you can use the HTML code below to directly link to this article.
Easily Delete All Wordpress Spam Comments Using phpMyAdmin Nasty Spam on Wordpress Comment box WP-DB Backup 1.7 directory traversal exploit Fix Wordpress Not Acceptable Error 406 Link Exchange with Raymond.CC How to integrate link exchange manager LinkMan into your Wordpress blog Reset Wordpress Admin User Password from phpMyAdmin
Have computer technical problems? Get FREE help from Raymond.CC FORUM
7 Responses for "How To Turn Off Comments For All Post In Wordpress"
I am back and comments has been re-enabled.
ha ha ha good one.by the way where had u been?
whic places did u visit?
[...] Original teks : How To Turn Off Comments For All Post In Wordpress [...]
i see this is great tips, i like them
большое спасибо!Взяла себе тоже-пригодится.
Thanks! Works for me!
Leave a reply