Hi.
I have an anchor element like this:
<a href="/link-to-image/" rel="attachment wp-att-7076"><img src="/uploads/img.jpg" alt="" title="" width="1268" height="377" class="alignnone size-full wp-image-7076" /></a>
(It's the standard way of Wordpress to embed uploaded pictures in a post.)
I want to remove the anchor around the image element, but keep the image. I simply want the image to show without being clickable.
This could be done either with a filter for the content of a post in Wordpress or after the page is loaded with javascript. Filtering in Wordpress would be preferred. I have no idea how to do either of those two options.