Is this plugin still being maintained? Want to be sure any bug fixes are being applied periodically. Thanks!
]]>I am feeling super dumb. I can’t seem to find the option to unattach an image from the post. Can someone show a screenshot of where it is?
]]>No button appears to un-attach media files in media library after installation and activation…
]]>Sharing a new version of this simple but great plugin Unattach with additional features/fixes as requested by a client:
Main php file: https://pastebin.com/ViDhwcm1
Complete package with language files: https://www.wikisend.com/download/994654/unattach.zip (link valid 90 days from today)
The capability can be set via functions.php, example code included.
To the author: Feel free to use the code as you like.
]]>Suggestion:
If you’re not an admin you’ll get a insufficient permissions error. It would be good if you can add a check for the $_REQUEST[‘id’] to not remove the submenu like so in the unattach_init function :
if (empty($_REQUEST[‘id’])) {
remove_submenu_page(‘tools.php’, ‘unattach’);
}
Or do ramonqu’s suggestion.
]]>Hi!
Just a suggestion:
You can change this line
add_submenu_page('tools.php', 'Unattach Media', 'Unattach', 'upload_files', 'unattach', 'unattach_do_it');
to this (using null insteat of ‘tools.php’)
add_submenu_page(null, 'Unattach Media', 'Unattach', 'upload_files', 'unattach', 'unattach_do_it');
and then you can remove the line
remove_submenu_page('tools.php', 'unattach');
Source: https://codex.www.ads-software.com/Function_Reference/add_submenu_page (search for “null”)
Regards
]]>Hello and thanks a lot for this useful plugin ! I would like to know if the image still unattached if I desinstall the plugin after ?
]]>I’ve tried this plugin with a multi-site and it does not work. Is it supposed to work on a multi-site? / Will this functionality be added in the feature? Thanks!
]]>Thanks for this small necessery options tool.
All The links with edit, view, all-plugins-here-too, getting tight in the Media Library table.
Question or help:
Is there a way to move re-attach and unattach links to the Uploaded to column instead, under the default link attach?
I think its a more logic to keep them all in one place, and when not dealing with handeling uploads, the function can be hidden by Screen settings.
Also easier to hide functionalities for diffrent roles or groups with other plugins.
]]>i’ found this so very usefull plugin cause need it that feature so much, thx!
one only problem: at the moment it is prohibited for non-admins-roles to unattach images. may there be a simple solution to change that (or for my own in some php-file e.g.)? Cause my friend won’t use to be admin but sometimes he likes to change some attributes in articles and so on …
thanks in advance,
cheers!
It would be very useful to have Unattach appear in the Bulk Action drop-down menu.
]]>This package looks great, and it’s easy enough to install and activate but I’m missing instructions on how to actually use it. I’ve looked in all the obvious places I can think of (image info, attached page info, media page) and I don’t see how to use it.
Help please!
]]>Another vote of “thanks” for a plugin that performs a very necessary task.
When setting up a Custom Post Type, I was cruising along selecting featured images for the posts. When I needed to remove the featured image, I did so on the Post page ‘remove image’. But I discovered that, while the post page for the CPT showed the image removed, it nevertheless remained ‘attached’ and visible in my posts.
Interesting that the featured image functionality works for CPTs to add the image, but not remove the image from being attached to the CPT.
I used Unattach, it worked, and the unwanted CPT images are now properly unattached. Thanks again.
]]>Thanks so much for creating this plugin – solves so many problems.
]]>Oh thank god for this plugin. Adds a little “Unattach” link right next to the Edit | Delete Permanently | View links in the Media Library.
This should be a standard plugin installed on every WordPress site!
]]>If I have searched for an image, clicking the Unattach link looses the search query. Would be nice to append the https://www.ruralheritagebhutan.com/wp/wp-admin/tools.php?page=unattach&noheader=true&&id=541 link with &s=searchterm
otherwise it goes back to page one.
Very nice, very useful plugin, thanks!
]]>