Auto-attach files when registering them to the media library
-
I migrated a site via the native importing/exporting tool in WP. I copied over the contents of the uploaded folder via FTP. I then used your plugin to successfully register the media files into the media library, but now they are unattached. This is a problem because I now need to reset the featured image for every post. The Easy Add Thumbnail plugin does that automatically, but only if the images are attached to the posts. It seems easy enough to include a loop in your plugin to, after registering the image to the media library, go through all posts and attach it to the ones that use the image’s url. What do you think?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Auto-attach files when registering them to the media library’ is closed to new replies.