I’ve struggled with the same thing pretty much always. There’s a plugin called File Un-Attach, and a Unattach and Re-attach Media Attachments. See if they work for you.
There’s also 5 year old Trac ticket on this, but it seems to be under conversation still.
Related Posts:
- How to add image from theme files to media library after theme activation?
- Media previews on posts
- Theme stops media uploader from working
- Add Media + Quick Edit buttons not working
- Override parent theme translation on child theme
- What does exactly GPL license mean for my WordPress theme?
- How to use taxonomies on attachments with the new Media Library?
- How to set thumbnail image for a (child) theme
- Categorising themes by folders in backend
- How do I detach images from posts?
- How to incorporate admin theme in my back-end-plugin
- Custom Upload Panel in Menu Bar
- WordPress themes under GPL license
- How can I customize the search results in Bones theme?
- Theme not showing after uploading
- get_template_directory_uri does not seem to work when defining WP_CONTENT_DIR
- Get url from file uploaded in Media Library
- How to load a different theme for categories?
- Possible to put header-{your_custom_template}.php in subdirectory?
- Why wp_enqueue_style() not working?
- How to remove header image on subpages in Twenty Eleven (default theme)?
- Can I update themes without enabling maintenance mode?
- 404 Error while accessing the font files
- Add a series of checkboxes to theme options
- Child Style.css not overriding parent theme style located in assets/css/main.css
- Disable Theme API / Front end (for API only environment)
- Hide default “Recent Comments” Widget if there are no comments yet
- Creating a theme options page
- Showing post thumbnail (attachment) on the archive.php category listing
- OptimizePress Theme Overriding add_filter page_template
- Theme Check warning wrong direcory for theme
- Moving test theme to live site without mySQL error – how? [closed]
- Password protect media attachment – share across guests
- Add more widget areas to a theme
- Posts and Pages not showing on admin, but showing in theme
- Handling image uploads without thickbox
- How can I add class to every quote element?
- Looking for a fully customisable WP responsive theme to develop a small scale fiverr type site for voice artists [closed]
- wp_get_theme() works fine, but wp_get_themes() returns empty array
- Read More Button Not Responding To Click
- How to use command lines an activate theme in wp – cli also setup Vagrant/Sage Theme?
- How to change the format of posts on the hompage?
- GPL 2 Theme using a framework for commercial Theme?
- Is there a way to upgrade a theme without losing custom templates?
- What hook is the currently active theme’s functions.php file loaded on? [duplicate]
- It’s okay if I do not write add_action()
- i would like to have 3 default columns editable in guttenberg
- Define theme information other than through style.css
- Change avatar on themed profile page
- WordPress 5.1 upgrade has lost the parent theme JavaScript
- Is it possible to open a page with a different theme?
- Theme update deleted my custom page
- Create page options for theme?
- Permissions error
- Where is the best place to catch useragent?
- Knowing blog name using blog id
- Setting a new default template for the creation of a page
- How can I change the prev / next buttons text to Dutch?
- Woocommerce single product image blurred and small. Actual image is big
- Get data from Theme Options and use them into meta options field in custom post type
- Can’t see themes for Multi-site wildcard subdomain
- Are the Theme frame works or Theme builders slow downs the performance? [closed]
- Make the “Add New Post” one column for all users
- What happened to my Inactive Widgets?
- Cannot change WordPress site title on a staged site
- Remove admin sub menu from child theme
- removing side space between para and container on generatepress?
- Shortcode for Custom Field of Media Attachment (to use with Featured Images)
- How to download my custom theme?
- How Can I Disable WordPress Theme Self-Update?
- Moving website from localhost to existing website without altering existing live theme
- Ensure Quality Transition to New WordPress Theme [closed]
- CSS in child theme isn’t working properly
- Using the GetMediaLibrary() method in python-wordpress-xmlrpc.media, how to iterate over the result?
- How do I change theme demo [duplicate]
- template_redirect() doesn’t seem to be working
- Theme installation error “The parent theme could not be found”
- WordPress theme is not displayed properly on other computers
- Display ads by location [closed]
- Get posts associated with media attachment
- Where is the stylesheet code?
- Detect PHP script usage in themes?
- Mobile theme switching problems
- Change theme’s thumbnail to cropped WP featured image
- Does WordPress provide themes_api function?
- How to show tags in posts with a theme that does not do it
- Converting HTML5 to XHTML
- How can i limit wordpress post title characters in sidebar?
- is it possible to create a website with wordpress with these requirements without coading?
- Theme making direct ajax calls to theme folder
- How to add sidebar to homepage programmatically?
- How to remove header “ish” label [closed]
- how to add dynamic footer credit in Greatmag theme [closed]
- Twenty Fifteen Premium Theme [closed]
- Can i Remove copyright text wordpress.org theme
- Help with Divi logo not appearing for 10s
- How to clone a theme template from within WordPress? [closed]
- Close featured image modal windows with JS
- Disabling Full Site Editor (FSE)
- get_post_meta() doesn’t allow email