Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

HTMLComment

Disgrifiad

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

Gosod

  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

Cwestiynau Cyffredin

If you have a question, let me know.

Adolygiadau

There are no reviews for this plugin.

Contributors & Developers

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

Cyfranwyr

Translate “HTMLComment” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Cofnod Newid

No changes yet.