I have a client site that has approx. 2000 posts, most with 2-3 images embedded. Recently we've gone through the media gallery and given all the images proper meta data, clean titles, descriptions, alt tags etc.

However the problem we have now is that in order for this data to show up in post content, we'd have to go through post by post, and re-add each image in order to pull in the new alt tag / title.

How would I go about bulk editing these posts to scrape for image attributes, find the image, and re-embed them with their updated meta info?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.