Added function for captions

Removes inline width/height attributes for wp-caption.