Let's say a blogger will be going away for a few days and won't have internet connection to check on the comments posted by visitors. Denimo, blogger bo iti ven za nekaj dni in ne bo imela internetno povezavo, da se preveri komentarji obiskovalcev. It's better to temporarily disable the comments to prevent spammers from flooding the comment box with all sorts of useless links. Bolje je, da začasno onemogočiti komentarje, da se prepreči spammers poplave, razložiti škatla z vsemi vrstami neuporabnih povezav. Here's how to temporarily disable the comment form on all posts. Takole začasno onemogočiti komentar obrazec na vsa delovna mesta.

It requires 2 steps. Zahteva 2 korakih. Modifying the theme code and install a plugin that would stop anyone from using the wordpress comment php script. Spreminjanje teme kodo in namestite plugin, da bi prenehali uporabljati kdorkoli wordpress php komentar script.

1.) Turn off the display of the comment form in your Comments file in your template. 1). Izklopite prikaz komentarja obrazca v vašem Komentarji datoteko v svojo predlogo. To do this, go to “ Presentation ” -> “ Theme Editor ” then edit the Comments file. Da bi to naredili, pojdite na "predstavitev" -> "Theme Editor" nato uredite Komentarji datoteke. Find the part in the file that looks like this (it is probably slightly different, depending on what theme you’re using): Poišči del v datoteko, ki je videti takole (to je verjetno nekoliko drugačen, odvisno od teme youâ € ™ ponovno uporabo):

[code] [code] comment_status) : ?> comment_status):?>

Leave a Reply Leave a Reply

[/code] [/ code]

Change it to this: Spremeni se s tem:

[code] [code] comment_status) : ?> comment_status):?>

Comments are temporarily disabled Komentarji so trenutno onemogočeno

Leave a Reply Leave a Reply

[/code] [/ 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 2.) Bodisi preimenovati vaš wp-pripombe-post.php datoteko (v koren vašega imenika WordPress) do unguessable nekaj podobnega betyoucantguessthis.php ALI namestiti plugin plugin that can temporarily disable all comments but choose to still allow trackbacks and / or pingbacks. da se lahko začasno onemogočiti vse pripombe, vendar odločijo, da še vedno omogoča Sledilniki in / ali pingbacks.

The second step is necessary because spammers don’t need to visit your comment form to be able to post comments. Drugi korak je potreben, ker spammers donâ € ™ t potreba po obisku vaš komentar obrazec, da bi lahko komentar.

I did this research because I will be going away for a week to Taiwan and Hong Kong. Sem storil to raziskovanje, saj bom šel ven za en teden, da Tajvan in Hong Kong. So there won't be any articles and comments would be turned off. Torej ne bo več člankov in komentarjev bi bil izklopljen.

Technorati Tags: Technorati Tags: , , , , , ,