Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Attachment Usage

Descripción

Ever lost the overview of your attachments in the media library? This plugin helps you to identify if an attachment has been used on the website. A free and easy to use plugin saving you time working in WordPress.

Your benefits

  • You have immediate information if and where attachment and media files are used.
  • Work more efficient with your media library.
  • Provides links to the corresponding pages/posts or widgets where the media file was found.
  • Filter your attachment/media list view by usage status (found/not found).
  • Saves you a lot of time by knowing exactly where your files are used.
  • It´s free and easy to use.

Locations looked through

  • Posts, pages: It searches in content and excerpt field and it checks if the attachment/image is used in a gallery within the content/excerpt section.
  • Custom post types: It searches in content and excerpt field of custom post types and checks if the attachment/image is used in a gallery within the content/excerpt section.
  • Featured image: It searches if the media file is used as featured image for the different post types.
  • Widgets: It searches if any media or attachment file is used in the following widget elements (text, audio, video, gallery, image).
  • WooCommerce Products: It searches in content and excerpt field as well as checks the product thumbnail and product gallery.
  • WooCommerce Product Variation: It looks through the product variation thumbnail if the image is used.
  • WooCommerce Product Category: It searches if the image is set in a product category.

Compatible

The plugin is compatible with a multisite setup and WooCommerce. Furthermore it supports
the lookup process for the following page builders Gutenberg, Elementor and Visual Composer.

Future roadmap & wishlist

By future updates the plugin´s functionality will be enriched.
If you have any suggestion please hit me an email

Colaborar

Want to help improve the plugin feel free to submit PRs via Bitbucket here.

Capturas

  • This is the colored border added in the media grid view for found/not-found attachments.
  • Button added if syncing on page loading is deactivated.
  • Shows the information where the attachment is used in the grid view.
  • Shows the sortable column if media list view is selected.
  • Shows the information where the attachment is used in a metabox on the attachment edit page.
  • Shows the information where the attachment is used in the list view.

Instalación

Instalación rápida y fácil:

  1. Upload the folder attachment-usage to your plugin directory
  2. Activa el plugin desde el menú «Plugins» de WordPress
  3. ¡Eso es todo!

Preguntas frecuentes

¿Qué hace este plugin?

The plugin fetches the website content and displays an info if the attachment is
used somewhere and if so where.

Reseñas

25 de abril de 2024 1 respuesta
First, I started writing my own plugin. I wanted to add this «reference info» to «attachment-info», but it’s impossible because it’s hardcoded into WP core («wp_print_media_templates()»). I searched for some code/solution where I would learn how to add this information to «attachment-info» (instead of the edit form), and I found this plugin. Yes, this plugin adds this information to the edit form («attachment_fields_to_edit» action), because it seems like in WP we don’t have any path to affect «attachment-info». In my test cases, it is fast enough. I don’t understand why attachments don’t have a classic reference table with foreign keys in WP core. This plugin solves this bad/sad functionality in WP core. Thanks a lot, Konstantin!
9 de julio de 2020
It works out of the box. The link to the used widgets is a great gimmick, especially when you have a lot of widgets 🙂
Leer todas las 2 reseñas

Colaboradores y desarrolladores

«Attachment Usage» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«Attachment Usage» ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce «Attachment Usage» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.2

  • Bugfix: jQuery Issue in IE (translateable strings)
  • Functionaliy: Modified rating banner functionality due to a typo (wrong default value on activation)

1.1

  • Functionality: Implemented custom post type support.
  • Functionality: Implemented checks for galleries/playlists inserted via media library.
  • Functionality: Implemented attachment usage display in media list view.
  • Functionality: Implemented notification to ask for rating of plugin.
  • Modified description.

1.0.0

  • Birth of Attachment Usage: Stable Version