這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.