I’m looking for a way to slip an extra class into all the img tags in a post. I thought I had tracked down the function that does it in the media.php file (the get_image_tag and get_image_tag_class filters), but I can’t figure out what’s going on in there. No changes I make to it seem to have any effect and there’s nothing in the codex on how to wrangle either of those filters.
Anybody have any ideas?
- The topic ‘Adding an extra class to post images’ is closed to new replies.