This plugin hasn’t been updated in over 2 years. 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

Seems to work good

Installed just today and tested it and it seems to work good, letting me know what page the file is being used on, and it lists the pages/posts if its on more then 1.

I use enfold theme and I also had the picture in a full width slider and it never showed / knew that, so its not perfect but still a nice tool =-]

Make sure you view the media in list mode not thumbnail mode.

Perfect!

Hi
This plugin is awesome and saved my life…
But I searched along time to find it! It is a nice work to add more tags, keywords and descriptions to plugin page..

THANKS AGAIN..

regard
Morteza

Great solution to a common problem

This is a great solution to a common problem. In my case the website developer uploaded a new image file in each location it was used, rather than simply using the same image file already in the media library.

Like others, I like to (try at least) to keep things clean and easier to review or maintain, by removing un-used and obsolete images from the database (as might be the case if an image is updated, a promotion ends, etc.)

This plugin does great to locate the posts and pages in which a specific image is used – or shows “unused” if it is not used in any post.

I like that the list of locations in the Media Library is hyperlinked, taking me directly to the page to be edited.

One limitation however is that use of the image in other places such as in a widget is not identified, which might be a minor issue as most people probably don’t have so many widgets that they can’t be manually reviewed. A plugin like Better Search Replace will identify how MANY times a string (like an image URL) appears in the database and in which table(s), but there is no way to know exactly in which element or instance.

I’m not sure how that sort of thing could be implemented (e.g. – link to take me to the editor for that widget / element). Otherwise as of this date the Find Posts Using Attachment hasn’t been updated since introduced a year ago. It would be worthy of a code review and certification to work in the current WP, to refresh it in the extensions directory.

Read all 6 reviews

Contributors & Developers

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

Contributors

Changelog

1.0

  • Initial release