Add additional classes to wp-caption
-
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?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Add additional classes to wp-caption’ is closed to new replies.