Timeline for How to Prevent WordPress from Automatically Applying Inline Styles to Post Images?
Current License: CC BY-SA 2.5
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 28, 2012 at 2:39 | answer | added | Troy Chaplin | timeline score: 1 | |
Jun 23, 2012 at 21:08 | answer | added | jeremyzilar | timeline score: 1 | |
Sep 1, 2010 at 21:34 | vote | accept | kevtrout | ||
Sep 1, 2010 at 21:14 | answer | added | EAMann | timeline score: 1 | |
Sep 1, 2010 at 19:05 | comment | added | kevtrout | @EAMann: Thanks to your comment, I discovered that a plugin: Image-Caption; is wrapping the image with the div. If you post your comment as an answer, I'll mark it. | |
Sep 1, 2010 at 18:48 | comment | added | EAMann | I'd suggest switching to the default TwentyTen theme and disabling plug-ins just to compare the generated markup ... | |
Sep 1, 2010 at 18:47 | comment | added | EAMann |
The reason I asked is because WordPress doesn't enclose image attachments inside <div> elements like this by default ... so either your theme or a plug-in is adding the element wrapper ...
|
|
Sep 1, 2010 at 18:19 | comment | added | kevtrout |
@EAMann: I edited the post to indicate the post is presented in a standard Loop with the_content(); .
|
|
Sep 1, 2010 at 18:18 | history | edited | kevtrout | CC BY-SA 2.5 |
comment follow-up
|
Sep 1, 2010 at 17:38 | comment | added | EAMann | Can you post the code in your theme that generates this markup? It might be caused by the theme itself, not WordPress. | |
Sep 1, 2010 at 17:35 | history | asked | kevtrout | CC BY-SA 2.5 |