where is the code generated for images in posts?
-
I’m trying to have the images in my posts have a margin depending on how the image is aligned. For example, if the image is set to align left (from the drop-down menu on the write/edit post on the admin side of WordPress), I need WordPress to automatically add a margin to the right.
Which is why Im looking for the file where WordPress generates the html. I would have the php write out an inline CSS to add the margin depending on the alignent, but I can’t seem to find it.
Any help would be greatly appreaciated. Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘where is the code generated for images in posts?’ is closed to new replies.