跳到内容

Upgrade for Unattach and Re-attach Media Attachments

v1.2.2

laurencebahiirwa · 2017年8月18日 上架

Allows to unattach and reattach images and other attachments from within the media library page.

正在使用
200+
评分
4.4 / 5
累计下载
9,613
最近更新
2022年6月21日
7 条评价需要 WordPress 4.9+已测试到 6.0.19

截图

Bulk actions "Unattach" and "Re-Attach" in the Media Library
Bulk actions "Unattach" and "Re-Attach" in the Media Library
The extended "Parent" column in the Media Library
The extended "Parent" column in the Media Library
Individual actions "Unattach" and "Re-Attach" per post
Individual actions "Unattach" and "Re-Attach" per post

WordPress allows to attach (or assign) images and other attachments organized within the Media Library to posts and pages.

A file will automatically be attached to a particular post when uploaded using the Add media button in that post. There are also “Attach” links in the Media Library to manually attach files to posts. Once attached there is no way to unattach or re-attach images, pdfs or any attachment in WordPress core.

This plugin fills this gap by providing two additional links next to “Attach” in the Media Library:

  • Re-Attach: Allows user to choose a new post to attach the media file.
  • Unattach: Totally removes an existing relation between an attachment and a post.

Bulk Actions

The plugin also provides bulk actions for unattaching and re-attaching multiple files at once! Just mark the files you want to change, select your desired action from the Bulk Actions dropdown and hit Apply.

Note

My initial issue came from here. Thanks to Unattach and Re-attach Media Attachments which inspired this plugin. Just adding upgrades of the code to the latter so it is safer for use and have fixed some bugs.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums