WordPress.org

Ready to get started?Download WordPress

Forums

Batch updating images Alt & Title tags in the database (1 post)

  1. aguett
    Member
    Posted 2 years ago #

    Hello,

    I have a problem : i'm working on a new blog for which I have a bit above 150 pictures (in the library only, none of them has been integrated in a post so far).

    Pictures are all perfectly named, i.e. best-descriptive-name.jpg

    I would like to update the entire WP database image's Title and Alt text with a REPLACE of the file name (so replacing "-" with " " and getting rid of the extension).

    I searched the web but couldn't find any solution.

    Does someone knows how to do this ?

    Thanks a lot,

    Cheers,

Topic Closed

This topic has been closed to new replies.

About this Topic