WordPress.org

Ready to get started?Download WordPress

Forums

Using uploaded images, modifying HTML used (1 post)

  1. louse101
    Member
    Posted 7 years ago #

    Ok so my topic subject line doesnt make much sense, so i'll try and be descriptive here.

    Basically all I want to do is have WordPress add 'rel="lightbox"' into the image display code so the code goes from looking like:

    '< a title="IMG.jpg" href="URL.jpg">'

    to:

    '< a rel="lightbox" href="URL.jpg">'

    And yes, I want to replace the 'title' tag with the rel= tag.

    Obviously I could edit this in each post I make but that would ultimately be more time consuming. It would be far easier if I modified the code of WordPress so when the image uploader sends the code to the editor it already includes the rel= tag.

    Hope to get some help on this soon.

    Nate Lanxon

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.