How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6

WordPress 2.6 has tons of new features to already powerful WordPress blog publishing platform, and one of the feature is image captions which display a caption of text describing the image displayed on the web page, beneath under the image itself. In fact, image captioning has been made default feature, and always turned on or enabled.

Image with Captions in WordPress

With image captioning in WordPress 2.6, WordPress will automatically add caption shortcode to all images, graphics, photos, pictures, and videos inserted into blog posts and pages via Flash or classic media uploader. The shortcode [caption] and [/caption], which bracket the IMG, OBJECT or EMBED HTML elements will translate into <div> and </div> CSS attributes to position caption accordingly.

Example of caption shortcode:

[caption]<a><img /></a>[/caption]

Not every blogger will love or need the images caption feature though. Author can skip using using [caption] and [/caption] HTML code to avoid an image or embedded video clip been showing caption below it. However, deleting or removing the caption shortcode that automatically been added together with the insertion of photos and videos in the visual or HTML editor.

For user who doesn’t want to use the image caption feature, and want to turn off and disable the automatic captioning (addition of caption shortcode) to images and videos, insert the following line of code into wp-config.php or the theme’s functions.php.

define(’CAPTIONS_OFF’, true);

Once added CAPTIONS_OFF parameter, the images caption function is WordPress 2.6 is disabled, and the caption shortcode does not work or translate anymore. But note that CAPTIONS_OFF constant is only a temporary variable available in WordPress version 2.6, as denoted in Changeset 8321. It’s recommended that WordPress user does not use this constant as it will no longer be supported in future version of WordPress. Changeset 8358 has made the changes to enable disabling of caption support via plugin’s filter, which likely to go live on WordPress 2.6.1.

Update: For WordPress 2.6.1 users who want to disable captions feature, use Caption Disabler plugin.


9 Responses to “How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6”

  1. A vueltas con Image Caption Easy | Ivan Gadea punto com
    February 18th, 2009 05:26
    9

    [...] gestor de Desktop es eliminar el caption que mete WP por defecto. Para ello hay 2 formas: en WP 2.6 cambiar una opción de wp-config.php y en versiones superiores tienes que instalar un plugin. Por cierto, cuidado que no es retroactivo: [...]

  2. kookimebux
    February 2nd, 2009 01:45
    8

    Hello. And Bye. :)

  3. Caption Disabler WordPress Plugin to Disable and Remove Captions Functionality » My Digital Life
    October 6th, 2008 05:05
    7

    [...] who doesn’t want or doesn’t like the caption feature, WordPress developers have added a CAPTIONS_OFF constant into WordPress version 2.6. However, the constant has already been removed and no longer [...]

  4. Désactiver la fonction “Caption” de Wordpress | Geekeries.fr - Astuces Wordpress, Actualités High-Tech, Plugins Wordpress, Apple, Windows
    September 22nd, 2008 03:14
    6

    [...] La fonction “Caption” des nouvelles versions de Wordpress sert en fait à créer un cadre au tour de votre image mais également à afficher une légende dans ce même cadre gris. Cela peut parfois déformer les chartes graphiques des blogs, comme ce blog par exemple. Via MyDigitalLife [...]

  5. Introducing CaptionKiller, because WordPress captions are bad | Game Pet
    September 19th, 2008 12:41
    5

    [...] If you’re still using WordPress 2.6 and want to turn off captioning, I would suggest reading this or this, though I haven’t tried these methods [...]

  6. Loverock
    September 14th, 2008 22:22
    4

    Finally what I was looking for!! Thanks!

  7. c.urdaneta
    July 24th, 2008 01:31
    3

    Big thanks, worked like a charm!

  8. How to turn off captions in WordPress 2.6 « Denver Web Design & Denver SEO - The Katz Web Design Blog
    July 21st, 2008 22:56
    2

    [...] a helpful article that discusses a temporary solution that involves modifying /wp_config.php, but it will not permanently work. Add the following to [...]

  9. Cómo desactivar las CAPTION en WordPress 2.6
    July 20th, 2008 09:04
    1

    [...] Vía | My Digital Life [...]

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

wordpress disable caption - jvc video caption scanner - youtube captions wordpress embedded enable - disable youtube captions - captioning bracket - php tag wordpress image caption - wordpress disable flash video - remove caption on picture - wp remove caption brackets - remove caption video - créer une legende image blogger caption - html code for adding video captions - turn caption off in media classic - media player turn off captions - youtube caption parameters - how to disable picture in pdf - youtube turn off captions - remove wordpress image captions plugin - desactivar añadir imagen en wordpress - wordpress disable image save - wordpress dissabled picture - captions_off wordpress - youtube disable captions default - disable image captions on wordpress single post pages - disable image in html - turn off captions media player classic - disable captions in windows media player - embedded video disable - how to choose another image caption youtube videos - html image caption - auto add video to html - blogger.com automatic picture caption - youtube disable captions - disable captions in wordpress plugin - video caption off - turn off auto suggestion when changing the name of a downloaded video - wordpress save captions - LG turn off spanish sub captions - remove captions youtube embed - wordpress disable media - cache:wd-lQ9em_uoJ:www.geekeries.fr/articles/desactiver-la-fonction-caption-de-wordpress-27/ cadre image wordpress - remove caption video version title - youtube removef captions - wordpress disable auto caption - free video filters to remove virus added images from 3g video clip - remove youtube caption blogger - blogger adding caption on photos - how to remove video captions from youtube -