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

how to turn off captions on youtube - wordpress turn off captions on images - turning off captions on youtube - wordpress image caption above image - auto image caption overlay wordpress plugin -lightbox - edit image captions in WordPress - flash captions off by default - how to turn off caption windows media player 12 - wordpress disable auto caption - youtube disable captions in embedded videos - cant turn off captions in windows media player - disable captions youtube - disable image on embed videos - how to disable image save on wordpress - turning off update caption on windows xp - wordpress disable caption - Easy Image Caption config - Add chinese caption to picture - disable parameter screen youtube - enable wp-caption wordpress - wp add shortcode caption - disable captions in media player classic - how to disable auto image captioning in wordpress - turn caption off wordpress - how to disable windows image and video search - wordpress rss caption remove - how to disable captions in youtube - how to remove embedded caption from video - turn off images in html - YouTube turn off captions embed - turning on caption at youtube - how to disable caption in youtube - removing captions in WMP - turn off captions on media player classic - wp disable image copy - como quitar el disable del embed - turn off captions in windows media player - disable youtube caption - How to turn off the auto-image on yahoo - how can i beneath a image caption - window media player turn off caption - how to remove caption from windows media player - wordprss disable captions -