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.

FAQ

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

Reviews

Not working

I noticed that all of a sudden images were not showing up when I would try to add them to a page/post. I am getting the popup to select images, but nothing shows, and the spinner just spins forever. I eventually get a server 504 error in the browser console. I disable all my plugins and i was able to add media to my pages/posts. I re-enables 1 by 1 all my plugins, and this one is the one that caused this issue. It’s unfortunate, because I liked this plugin, but I must deactivate it for now.

Not working with WPBakery grids.

As of 2018-08-02 (v1) it doesn’t seem to find images that are used in a WPBakery Page Builder ‘Image Grid’ element (was Visual Composer). I can appreciate that it would be hard for a plugin to do that, but I will continue to hope because it would be very useful.
I don’t want to give a low number of stars, because it probably does what it was intended to do, but it would be nice if the author would declare that it doesn’t work with WPBakery up front to save some folks some bother.

Excellent plugin, so useful!

Simple, tells you which pages or posts your image or other attachment is used, I used it to be able to delete images that were not used but I couldn’t be sure they were unused without this plugin. Brilliant.

Still Works. Very helpful!

I have a large client site that needed all references to a competitors product removed from their site. This included images that used the competitors name in the name of the image. I thought this would take days to do using the usual search methods! With this plugin I was done in about 30 minutes!! THANK YOU!

Note: Being 3 years old looks suspicious. Please consider updating your plugin so others know it still works.

Read all 13 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 2 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