HTMLComment
A very useful and simple plug-in that allows you to hide a part of a post (links,image...) using standard HTML comment markers .
Consider an alternative
HTMLComment shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 17 years ago, and scores 30/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 16 years
- Only tested up to WordPress 2.9 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where HTMLComment stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| hidden | >100 |
| hide post | >100 |
| hide text | >100 |
| html | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About HTMLComment
From the official readme · v0.1Description
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.
Version History
Version 1.0
- First release
Installation
- Upload HTMLComment.php to the
/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Comment out text using <!– and –> mark-up
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best HTMLComment alternatives
All hidden plugins →FAQ
HTMLComment: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is HTMLComment free?
Yes. HTMLComment is free to download and use from the official WordPress.org plugin directory.
Is HTMLComment safe to use in 2026?
HTMLComment shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites, is rated 5/5 and was last updated 17 years ago, and scores 30/100 on our health check.
How many websites use HTMLComment?
HTMLComment is active on 10+ WordPress websites and has been downloaded 2,130 times since it launched in March 2010. It was downloaded 38 times in the last 30 days.
Does HTMLComment work with WordPress 7.1?
HTMLComment is officially tested up to WordPress 2.9.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was HTMLComment last updated?
The latest version, 0.1, was released on March 23, 2010 (17 years ago).
Who makes HTMLComment?
HTMLComment is developed and maintained by hartley_h.
What are the best alternatives to HTMLComment?
The most popular alternatives to HTMLComment are Hide Plugins (1K+ installs), Oomph Hidden Tags (400+ installs) and BuddyPress Admin Only Profi… (100+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
