Disable html tags in comments form

This code snipts will disable html href, strong, bold and other tags in WordPress comment box. Many spamer are posting comment using these HTMl tags.So your blog post comments looking so ugly. like this : ” &strong;&&b;very; “. For the successfully disable HTML code and special html tags in the comments section in your WordPress blog or website simply open your active theme’s “functions.php” file, then copy and paste the below code :

Add below code

Recommended Posts:


Prem Tiwari

An engineer by profession and a passionate blogger by heart. Founder of FreeWebMentor.com (A Programming blog for beginners), Tech Speaker at various forums. A part from this he is an open source enthusiast, WordPress Lover, Blogger, SEO, and Growth Strategic.

Article Tags: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Solved Programs