TC Comment Out

plugin banner

Comment out page and post content using a shortcode.

Author:Tracy Rotton (profile at wordpress.org)
WordPress version required:2.5
WordPress version tested:5.4.15
Plugin version:2.0.0
Added to WordPress repository:25-04-2011
Last updated:14-06-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:90
Rated by:2
Plugin URI:http://www.taupecat.com/wordpress-plugins/tc-...
Total downloads:4 859
Active installs:100+
plugin download
Click to start download

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]

ChangeLog