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.

Find Posts Using Attachment

Description

Allows to find all posts where a particular attachment (image, video, etc.) is used.

Adds a “Used In” column to the list view in Media Library, as well as to the attachment details modal.

Finds posts that use the image (including any of its intermediate sizes) in post content, or as a featured image. Works with custom post types too.

Inspired by a WP Tavern post on image attachments.

Screenshots

  • “Used In” column in Media Library
  • “Used In” column in the attachment details modal.

Installation

  1. Upload find-posts-using-attachment folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Reviews

April 27, 2022
This identified a number of images that were actually still being used – in one case, it even identified our corporate logo. This plugin needs some serious work.
February 4, 2020
What a great idea, I thought, This is exactly what I need to help me do some housekeeping an get rid of old images that are not being used. Luckily I noticed pretty quickly that it tells you an image in unused when it’s clearly attached to a post. What a shame.
Read all 25 reviews

Contributors & Developers

“Find Posts Using Attachment” is open source software. The following people have contributed to this plugin.

Contributors

“Find Posts Using Attachment” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “Find Posts Using Attachment” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Initial release