內容簡介
這個外掛非常有用且簡單,可以使用標準的 HTML 註釋標記(<!– 以及 –>),來隱藏文章的一部分(連結、圖片等)。當 WordPress 把文章轉換為 HTML 時,會將兩個破折號轉換為破折號(–,在 Unicode 中為 &#8211;)。如果破折號後面跟著大於符號,這個外掛就會簡單地將其改回。因為 –> 是 HTML 的註釋結束標記,這樣就能重新讓 HTML 註釋發揮功用了。
只需要把要隱藏的文字放在這兩個標記之間 <!– 和 –>。例如:
這是一篇範例文章,有隱藏文字 <!– 嘿,你在看什麼? –>。
版本紀錄
版本 1.0
第一個釋出的版本
外掛標籤
開發者團隊
原文外掛簡介
A very useful and simple plug-in that allows you to hide a part of a post (links,image…) using standard HTML comment markers . 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 . For example:
This is an example of a post with hidden text.
Version History
Version 1.0
First release
