This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

xili re/un-attach media


This plugin named – xili re/un-attach media – adds Unattach, Reattach new actions in Media Library Table list to manage attachments in the File column just after View action.
In single page to edit Media, a metabox about linked post and the new actions.
This plugin is only active in admin (dashboard) side.

Link to Github by dev.xiligroup.

Link to other plugins made by dev.xiligroup.

Link to latest infos about dev.xiligroup, multilingual child themes of bundled themes, plugins… – in english, french and german..

German translation by YogieAnamCara of sensorgrafie


  • The new actions in Media Library list in column File.
  • The new action in Media Library list in column File with only unattached files selection.
  • Icon list or thumbnail mode in WP 4.0-alpha.
  • The metabox with infos and actions about attached post.


Note: if downloaded and unzipped from GitHub – delete “master” suffix – the plugin folder name must be /xili-re-un-attach-media/

  1. Upload the folder /xili-re-un-attach-media/ containing files including “xili-re-un-attach-media.php” to the “/wp-content/plugins/” directory.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. Go to Media Library settings page and move your mouse in the File column.
  4. The attachment (media) edit page with new metabox.

© 2014-2016 MS –


Why add these actions?

Because unattach is useful when you do a mistake when linking a media to a post. Default action only offers to erase the media (file) :-(.

What about the source?

The goal to create this plugin came when reading the source of (which was not OOP made and not maintained since one year): here no too hacky approach, only good hooks, security (nonce, check_admin_referer) and class active only in admin side.
Inline ‘translation ready’ help or pointer (35% of the lines).

What about WP 4.x

To recover the list, you must be in table mode (see icon on top right).

Contributors & Developers

“xili re/un-attach media” is open source software. The following people have contributed to this plugin.



1.0.1 (2016-02-10)

  • compatible with glotpress – text domain (and .po/.mo filenames) same as plugin name

1.0 (2015-05-26 2016-01-24)

  • Set/Unset attached image as featured image.

0.9.4 (2015-04-22)

  • fixes
  • ready for WP 4.2

0.9.3 (2014-12-19)

  • ready for WP 4.1 Dinah

0.9.2 (2014-06-25)

  • improved english texts and translations (Joerg)

0.9.1 (2014-06-23)

  • Pointer in single page added,
  • German translation by Joerg

0.9.0 (2014-06-15)

  • First release