Title: HTMLComment
Author: hartley_h
Published: <strong>2010 年 3 月 23 日</strong>
Last modified: 2010 年 3 月 23 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/htmlcomment.svg)

# HTMLComment

 作者：[hartley_h](https://profiles.wordpress.org/hartley_h/)

[下载](https://downloads.wordpress.org/plugin/htmlcomment.zip)

 * [详情](https://cn.wordpress.org/plugins/htmlcomment/#description)
 * [评价](https://cn.wordpress.org/plugins/htmlcomment/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/htmlcomment/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/htmlcomment/#developers)

 [支持](https://wordpress.org/support/plugin/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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ hartley_h ](https://profiles.wordpress.org/hartley_h/)

[帮助将「HTMLComment」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/htmlcomment)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/htmlcomment/)，查看[SVN仓库](https://plugins.svn.wordpress.org/htmlcomment/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/htmlcomment/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/htmlcomment/)。

## 更新日志

No changes yet.

## 额外信息

 *  版本 **0.1**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 1.0 或更高版本 **
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/htmlcomment/)
 * 标签
 * [hidden](https://cn.wordpress.org/plugins/tags/hidden/)[hide post](https://cn.wordpress.org/plugins/tags/hide-post/)
   [hide text](https://cn.wordpress.org/plugins/tags/hide-text/)[html](https://cn.wordpress.org/plugins/tags/html/)
 *  [高级视图](https://cn.wordpress.org/plugins/htmlcomment/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/htmlcomment/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/htmlcomment/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/htmlcomment/reviews/)

## 贡献者

 *   [ hartley_h ](https://profiles.wordpress.org/hartley_h/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/htmlcomment/)