Title: HTMLComment
Author: hartley_h
Published: <strong>March 23, 2010</strong>
Last modified: March 23, 2010

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/htmlcomment.svg)

# HTMLComment

 By [hartley_h](https://profiles.wordpress.org/hartley_h/)

[Download](https://downloads.wordpress.org/plugin/htmlcomment.zip)

 * [Details](https://pcd.wordpress.org/plugins/htmlcomment/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/htmlcomment/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/htmlcomment/#installation)
 * [Development](https://pcd.wordpress.org/plugins/htmlcomment/#developers)

 [Support](https://wordpress.org/support/plugin/htmlcomment/)

## Description

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 &#8211;). 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

 1. Upload HTMLComment.php to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Comment out text using <!– and –> mark-up

## FAQ

If you have a question, let me know.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“HTMLComment” is open source software. The following people have contributed to 
this plugin.

Contributors

 *   [ hartley_h ](https://profiles.wordpress.org/hartley_h/)

[Translate “HTMLComment” into your language.](https://translate.wordpress.org/projects/wp-plugins/htmlcomment)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/htmlcomment/), check
out the [SVN repository](https://plugins.svn.wordpress.org/htmlcomment/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/htmlcomment/) by
[RSS](https://plugins.trac.wordpress.org/log/htmlcomment/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

No changes yet.

## Meta

 *  Version **0.1**
 *  Last updated **16 years ago**
 *  Active installations **10+**
 *  WordPress version ** 1.0 or higher **
 *  Tested up to **2.9.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/htmlcomment/)
 * Tags
 * [hidden](https://pcd.wordpress.org/plugins/tags/hidden/)[hide post](https://pcd.wordpress.org/plugins/tags/hide-post/)
   [hide text](https://pcd.wordpress.org/plugins/tags/hide-text/)[html](https://pcd.wordpress.org/plugins/tags/html/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/htmlcomment/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/htmlcomment/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/htmlcomment/reviews/)

## Contributors

 *   [ hartley_h ](https://profiles.wordpress.org/hartley_h/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/htmlcomment/)