[wp-hackers] links on images

Andy Skelton skeltoac at gmail.com
Thu Jan 19 04:19:12 GMT 2006

On 1/18/06, Aaron Brazell <aaron at technosailor.com> wrote:
> I need to apply a rel attribute to links on the images.  I notice the images get a class="imagelink" attribute so it should be possible to isolate just images in "the_content" ;).
> However, without roughing in some js, I am drawing a blank on how to munge those links...

Changing HTML tag attributes is almost always easier in JS and this is
no exception.


More information about the wp-hackers mailing list