Title: TC Comment Out
Author: Tracy Rotton
Published: <strong>25 avril 2011</strong>
Last modified: 14 juin 2020

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

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

# TC Comment Out

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

[Télécharger](https://downloads.wordpress.org/plugin/tc-comment-out.2.0.0.zip)

 * [Détails](https://fr.wordpress.org/plugins/tc-comment-out/#description)
 * [Avis](https://fr.wordpress.org/plugins/tc-comment-out/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/tc-comment-out/#installation)
 * [Développement](https://fr.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 ».

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« TC Comment Out » est un logiciel libre. Les personnes suivantes ont contribué 
à cette extension.

Contributeurs

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

[Traduisez « TC Comment Out » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/tc-comment-out)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/tc-comment-out/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/tc-comment-out/), ou 
s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/tc-comment-out/)
par [RSS](https://plugins.trac.wordpress.org/log/tc-comment-out/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 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.

## Méta

 *  Version **2.0.0**
 *  Dernière mise à jour **il y a 6 ans**
 *  Installations actives **60+**
 *  Version de WordPress ** 2.5 ou plus **
 *  Testé jusqu’à **5.4.19**
 *  Version de PHP ** 5.3.0 ou plus **
 *  Langue
 * [English (US)](https://wordpress.org/plugins/tc-comment-out/)
 * Étiquettes
 * [comment-out](https://fr.wordpress.org/plugins/tags/comment-out/)[hide content](https://fr.wordpress.org/plugins/tags/hide-content/)
   [shortcode](https://fr.wordpress.org/plugins/tags/shortcode/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/tc-comment-out/advanced/)

## Évaluations

 4.5 sur 5 étoiles.

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

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

[Voir tous les avis](https://wordpress.org/support/plugin/tc-comment-out/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

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