Currently, wp-caption gets classes such as "aligncenter." However, I'd like to add the size-specific classes that the image gets, e.g. "size-medium," etc. This will give me the ability to target it for responsive purposes. Is there a way to do that via functions.php?
↧