plugin-icon

Upgrade for Unattach and Re-attach Media Attachments

제작자: laurencebahiirwa·
Allows to unattach and reattach images and other attachments from within the media library page.
등급
4.4/5
버전
1.2.2
활성화된 설치 항목
300
최근 업데이트일
Jun 21, 2022
Upgrade for Unattach and Re-attach Media Attachments

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.

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.0.11
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.