wp_get_attachment_image remove width and height attribute
-
How do you remove the inline width & height attributes of the wp_get_attachment_image() what’s been used by the default WordPress gallery option.
I would like to remove those two attributes from the image tag but for some reason you can remove them from almost any image tag except this gallery-thumbnail stuff that used the wp_get_attachment_image() function.
Anybody please..
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp_get_attachment_image remove width and height attribute’ is closed to new replies.