Articles Comments

Marco Luthe Online! » WordPress Stuff » Disable Image Caption Shortcode In WordPress

Disable Image Caption Shortcode In WordPress

I just read this nice article by Frank Bültge that deals with the image caption shortcode that WordPress creates automatically when you add an image via the media manager. As I never really liked it, I can’t say how happy I am that someone finally explained to me how to get rid of it in a very simple way.

Just add the following code as a plugin or to your functions.php:

add_filter( 'disable_captions', create_function('$a', 'return true;') );

I have just written a small plugin that you can download here.

Credits should go to Frank Bültge for this. Thanks!

Filed under: WordPress Stuff · Tags: , , , , ,

blog comments powered by Disqus