WordPress itself does a job of filtering dangerous code inside your content.
But your users can break your site design without compromising your security by inserting unnecessary HTML tags in post, page or in custom post type.
This plugin removes unnecessary HTML tags from post, page and custom post type content before inserting it to your WordPress database.
It also prevents users to paste or write disallowed HTML tags in post content.
If your website users creates content for you and if they copy the content from some other webpages, then in that situation this plugin will be helpful to you to disallowed unnecessary HTML tags.
- This plugin will only allow the below HTML tags :
p, h1, h2, h3, h4, h5, h6, ol, ul, li, ins, blockquote,
cite, code, em, b, i, u, q, strike, strong, br, hr,
abbr (allowed attributes: title),
acronym (allowed attributes: title),
a (allowed attributes: href, title),
img (allowed attributes: src, alt, class, width, height),
del (allowed attributes: datetime)
Usage :
- Download and extract this plugin to
wp-content/plugins/
- Activate the plugin through the 'Plugins' menu in WordPress and enjoy !