How to remove image caption in WordPress 2.6

image captionNew version of wordpress 2.6 includes Image captioning feature that automatically adds caption under your images like in BBC and CNN news site. It is pretty good if you like. But what if you don’t want to put little caption under your image? Here is a very simple trick.

  1. Switch to HTML mode
  2. Remove the code something like this (before img HTML tag)
    [   caption id=”attachment_605″ …]
    <img src=….. />
    [   /caption]

remove caption html

5 Responses

  • Added. Nice work on this one. Btw, my blog is dofollow, stop by and grab a link. Walter

    Blackhatseo on July 23, 2008
  • To tedious to do after every single image, better way would be to edit your functions.php file and add:

    <code>define(‘CAPTIONS_OFF’, true);</code>

    Ash Haque on July 30, 2008
  • Actually, if you don’t specify the caption while you are adding the image, it won’t show the caption.. no need to do those manual things..

    Michael Sync on August 9, 2008
  • Thanks, man. :D

    Myo Kyaw Htun on August 11, 2008
  • Hi Michael. If you don’t specify the caption, WordPress won’t add an ALT tag and then your code will be rendered invalid. Seems kinda dumb for WordPress to do that.

    Paul on September 23, 2008