As of April 2026, HTMLComment is a WordPress html plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 1.6K+ times in total. Requires WordPress 1.0+ and PHP false+. Available on WordPress.org since 2010. Last updated 16 years ago — may have compatibility concerns. Top alternative: Shortcoder — Create Shortcodes for….
A very useful and simple plug-in that allows you to hide a part of a post (links,image…) using standard HTML comment markers <!– and –>. When WordPress converts your post text into HTML, one thing it does it converts a double-hyphen to an en-dash (– which in Unicode is –). This plug-in simply changed it back if it happens to be followed by a greater than symbol. Since –> is a HTML end-comment marker, this allows HTML comments to work again.
To hide a text,just place it between those two markers <!– and –>. For example:
This is an example of a post with <!– Hey, what are you looking at? –> hidden text.
| WordPress | 1.0+ requiredTested up to 2.9.2 |
| PHP | false+ required |
No changes yet.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.