Disable html tags in comments form

| Last Updated: | In: WP Labs


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

Tags: , , ,


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby.


You may also like:

Get Free Access of 450+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Free Guide: Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Free WordPress Setup Service

Free WordPress Setup

Want to Setup WordPress Blog Setup? I will help you in the setup of your WordPress blog.

Click Here

Discount Coupons

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW