I'm making some updates + imports to my own (really old) blog. Through the years different web sites has been imported to it and many old images are in the media library but not attached to any post there. They are linked in content from blog posts.
Are there any way to search the content and attach images to the blog post where it's shown in. I think all images are only shown on one blog post.
My idea would be to filter out all media that is unattached in media library and then search all posts + pages for that file name. If found - attach it there. But if something exists I'm sure that solution would be much better :)
Thanks.