Title: TC Comment Out
Author: Tracy Rotton
Published: <strong>April 25, 2011</strong>
Last modified: June 14, 2020

---

Search plugins

![](https://ps.w.org/tc-comment-out/assets/banner-772x250.png?rev=589463)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# TC Comment Out

 By [Tracy Rotton](https://profiles.wordpress.org/taupecat/)

[Download](https://downloads.wordpress.org/plugin/tc-comment-out.2.0.0.zip)

 * [Details](https://test.wordpress.org/plugins/tc-comment-out/#description)
 * [Reviews](https://test.wordpress.org/plugins/tc-comment-out/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/tc-comment-out/#installation)
 * [Development](https://test.wordpress.org/plugins/tc-comment-out/#developers)

 [Support](https://wordpress.org/support/plugin/tc-comment-out/)

## Description

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]
    ```

## Installation

 1. Place the tc-comment-out directory inside your plugins directory.
 2. Navigate to the Plugins section of the Dashboard and click “Activate”.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“TC Comment Out” is open source software. The following people have contributed 
to this plugin.

Contributors

 *   [ Tracy Rotton ](https://profiles.wordpress.org/taupecat/)

[Translate “TC Comment Out” into your language.](https://translate.wordpress.org/projects/wp-plugins/tc-comment-out)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/tc-comment-out/), check
out the [SVN repository](https://plugins.svn.wordpress.org/tc-comment-out/), or 
subscribe to the [development log](https://plugins.trac.wordpress.org/log/tc-comment-out/)
by [RSS](https://plugins.trac.wordpress.org/log/tc-comment-out/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### Version 2.0

 * Changed license to MIT.
 * Fixed incompatibilities with WordPress 5.*.
 * Rewrote for cleaner code that meet WordPress Coding Standards (version 2.3.0)

#### Version 1.2

 * Implemented the “type” attribute allowing users to use HTML comments to hide 
   their content (the default) or to strip it out altogether so that the commented
   content is NOT viewable when using the browser’s “View Source” option.
 * Added GPLv2 license to package.

#### Version 1.1

 * Fixed a bug that would break the SGML commenting schema if it encountered a URL
   containing two dashes in a row. WordPress filters double-dashes in content, but
   not when they occur in a URL.

#### Version 1.0

 * Initial release.

## Meta

 *  Version **2.0.0**
 *  Last updated **6 years ago**
 *  Active installations **60+**
 *  WordPress version ** 2.5 or higher **
 *  Tested up to **5.4.19**
 *  PHP version ** 5.3.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/tc-comment-out/)
 * Tags
 * [comment-out](https://test.wordpress.org/plugins/tags/comment-out/)[hide content](https://test.wordpress.org/plugins/tags/hide-content/)
   [shortcode](https://test.wordpress.org/plugins/tags/shortcode/)
 *  [Advanced View](https://test.wordpress.org/plugins/tc-comment-out/advanced/)

## Ratings

 4.5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/tc-comment-out/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/tc-comment-out/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/tc-comment-out/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/tc-comment-out/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/tc-comment-out/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/tc-comment-out/reviews/)

## Contributors

 *   [ Tracy Rotton ](https://profiles.wordpress.org/taupecat/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/tc-comment-out/)