Temporarily Disable New Comments WordPress Blog

Disable New Comments

If you want to disable new comments form in your Comments file in your template. To do this, go to “Presentation>Theme Editor” then edit the Comments.php file. Find the part in the file that looks like this (it is probably slightly different, depending on what theme you’re using): Disable New Comments Tricks <?php if (‘open’…

Disable HTML in WordPress Comments

Disable HTML

WordPress allows some HTML tags like <a>, <em>, <strong> within comment text. But if you would like to disable HTML feature on your blog to prevent users from adding any HTML content within comment text, add this function to your theme’s functions.php file. This will treat the HTML content within comment text as literals and…

Force Minimum Comment Length

Not a fan of the 1-2 word comments like “Nice Post!”, “Good Job!”? Although the comment might not be spam, these are the type of comments that will not typically encourage further discussions. If you want to get your commenters talking, you can set a minimum length of words required before readers can post their…

Disable Links From User Comments

Links that are included in the comments form will instantly become a clickable link once they are posted and approved. This can be exploited by spammers, encouraging them to flood your comment section with a link to their “spammy” page. To counter this, you can add this filter to disable the click-ability of the link(s)…