该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

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 <!– 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

安装

  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

常见问题

If you have a question, let me know.

评价

此插件暂无评价。

贡献者及开发者

“HTMLComment” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“HTMLComment”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

No changes yet.