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. Tarkime Blogger bus išvykstate kelias dienas ir negalės internetas patikrinti komentarų lankytojai. It's better to temporarily disable the comments to prevent spammers from flooding the comment box with all sorts of useless links. Geriau laikinai išjungti komentarus išvengti nepageidaujamo nuo potvynių komentarą langas su visų nereikalingų nuorodų rūšys. Here's how to temporarily disable the comment form on all posts. Štai kaip galima laikinai išjungti komentarą formą visas žinutes.

It requires 2 steps. Jis reikalauja 2 žingsnius. Modifying the theme code and install a plugin that would stop anyone from using the wordpress comment php script. Keitimas tema kodą ir įdiegti įskiepiai, kad būtų nutraukti visi naudoti WordPress komentarą PHP skripto.

1.) Turn off the display of the comment form in your Comments file in your template. 1.) Išjungti iš komentaro forma rodomi Jūsų komentarai failo šabloną. To do this, go to “ Presentation ” -> “ Theme Editor ” then edit the Comments file. Norėdami tai padaryti, eikite į "pateikimas" -> "temos redaktorius", tada redaguoti Komentarų failas. Find the part in the file that looks like this (it is probably slightly different, depending on what theme you’re using): Rasti bylos dalies, kuri atrodo taip (jis tikriausiai šiek tiek skiriasi, priklausomai nuo temos youâ € ™ pakartotinai naudoti):

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

Leave a Reply Leave a Reply

[/code] [/ code]

Change it to this: Keisti jį taip:

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

Comments are temporarily disabled Komentarų yra laikinai išjungta

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.) Arba pakeisti savo wp-comments-post.php failą (į savo WordPress kataloge root) kažką unguessable kaip betyoucantguessthis.php arba įdiegti šią plugin Įskiepiai that can temporarily disable all comments but choose to still allow trackbacks and / or pingbacks. kad galima laikinai išjungti visus komentarus, bet pasirinkti vis dar galima trackbacks ir / arba Pingbacks.

The second step is necessary because spammers don’t need to visit your comment form to be able to post comments. Antrasis žingsnis yra būtinas, nes spameriai dona € ™ t, reikia aplankyti savo komentarų formą, norėdami parašyti komentarą.

I did this research because I will be going away for a week to Taiwan and Hong Kong. Aš šio tyrimo, nes aš išvykstate savaitę Taivane ir Hong Konge. So there won't be any articles and comments would be turned off. Taigi, nebus jokių straipsnių ir pastabos turėtų būti išjungtas.

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