Pre-wrap images in posts
-
I’m working on re-designing a theme to suit my needs, but I am not familiar with PHP, and as such not at all with the WP API.
I recently added a small plugin to unwrap images from the <p> tag in posts, so I can have more control over the width. I see some various versions of it on the web (raw of the one I use)
Now what I need is basically a div with a custom class to wrap around the image. Basically change what used to be the <p> wrapping around the image to be a div with an class. Need it for layout arrangement.
Can someone help me with this please?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Pre-wrap images in posts’ is closed to new replies.