
For each uploaded image, WordPress lets you enter a caption to describe the file. This is very cool, but sometimes you don’t need captions at all. Here is how you can get rid of it.

For each uploaded image, WordPress lets you enter a caption to describe the file. This is very cool, but sometimes you don’t need captions at all. Here is how you can get rid of it.
Simply paste the following lines of code in your functions.php file, and you're done!
function caption_off() {
return true;
}
add_filter( 'disable_captions', 'caption_off' );
Thanks to Wp Tricks for this nice hack!
5 Responses
interesting. I suppose this would come in handy if you changed your site design from previously having captions to not wanting them anymore.
Thanks for this recipe, I will check it
Nice, simple tip. I’ve always hated captions (never use them) so it will be nice to get rid of them.
Trackbacks: