This plugin allows to take control of the HTML code allowed in your comments.
As of April 2026, HTML Code Comments is a WordPress tag plugin with 10 active installations and a 5/5 rating from 3 reviews. It has been downloaded 1.9K+ times in total. Requires WordPress 1.5.2+ and PHP false+. Available on WordPress.org since 2016. Last updated 9 years ago — may have compatibility concerns. Top alternative: Pages with category and tag.
WordPress allows only some HTML tags in comments to prevent XSS vulnerabilities. The not allowed tags are simply deleted when a
comment is posted. The allowed tags are stored in a global WordPress variable that you have to edit if you want add allowed tags.
With this plugin, you can simply edit this variable and add an HTML tag or an attribute to the allowed tags list. There is no file
to edit, you just have to go on the plugin configuration page and edit the allowed tags list. It’s easy and efficient !
Sometimes, you may have to put HTML code in your comments to answer your visitor’s questions. In that case, you generally put
your HTML code between two tags : code and pre. This plugin automatically encode HTML tags which are between pre…
| WordPress | 1.5.2+ requiredTested up to 4.7.33 |
| PHP | false+ required |
Publication date : 09/21/2016
Features :
- Configuration of allowed HTML tags and attributes
- Forcing of `target` attributes value to `_blank`
- Adding an option to enable or disable HTML code encoding
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.