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 to “How to remove image caption in WordPress 2.6”

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

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

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

  4. Thanks, man. :D

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