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.

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.
Related Articles
- Caption Disabler WordPress Plugin to Disable and Remove Captions Functionality
- How to Change the CSS Style, Font, Spacing, Alignment and Color of WordPress Image Captions
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page
- How To Add Subtitles and Captions To YouTube Video
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above
- Adding Extra More Fields to WordPress Write/Edit Post/Page Right Column
- Disable WordPress 2.3 Core and Plugins Update Check and Notification
- Hack to Turn Off and Disable Windows 7 CD or DVD Writer Burning and Auto Tray Ejection Feature
- WordPress 2.6 with Change Revision Tracking Feature Available for Free Download
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count










































February 18th, 2009 05:26
[...] 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: [...]
February 2nd, 2009 01:45
Hello. And Bye.
October 6th, 2008 05:05
[...] 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 [...]
September 22nd, 2008 03:14
[...] 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 [...]
September 19th, 2008 12:41
[...] 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 [...]
September 14th, 2008 22:22
Finally what I was looking for!! Thanks!
July 24th, 2008 01:31
Big thanks, worked like a charm!
July 21st, 2008 22:56
[...] a helpful article that discusses a temporary solution that involves modifying /wp_config.php, but it will not permanently work. Add the following to [...]
July 20th, 2008 09:04
[...] Vía | My Digital Life [...]