Beskrivning
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
Vanliga frågor
If you have a question, let me know.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”HTMLComment” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”HTMLComment” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
No changes yet.