跳到内容

HTMLComment

v0.1

hartley_h · 2010年3月23日 上架

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 -->.

正在使用
10+
评分
5.0 / 5
累计下载
2,119
最近更新
2010年3月24日
1 条评价需要 WordPress 1.0+已测试到 2.9.2

贡献者

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

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums