BACK TO DIRECTORY

HTMLComment

by hartley_h

5.0
(1 ratings)

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

Plugin Details

Active Installs
10
Total Downloads
2,020
Version
0.1
Requires WP
1.0
Requires PHP
Tested Up To
2.9.2
Added
2010-03-23
Last Updated
2010-03-23 9:00pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0