跳到内容

TC Comment Out

v2.0.0

Tracy Rotton · 2011年4月25日 上架

Comment out page and post content using a shortcode.

正在使用
60+
评分
4.5 / 5
累计下载
6,261
最近更新
2020年6月14日
2 条评价需要 WordPress 2.5+已测试到 5.4.26PHP 5.3.0+

贡献者

Easily comment out page and post content using a shortcode. Content is commented out using HTML comment syntax, keeping the content available in the “View Source” window of your web browser.

Simply place the opening shortcode [comment] at the beginning of the text you wish to comment out, and the closing shortcode [/comment] at the end.

If you wish to hide the content entirely from view (so that it is not visible in the browser source), set the optional type attribute to “hidden”. Setting the type attribute to “html” will produce the default behavior, but is not required.

[comment]This text will be commented out with HTML comments.[/comment]

[comment type="hidden"]This text will not even be sent to the browser.[/comment]

Plums

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

导航

说明

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

© 2026 Plums