Find Posts Using Attachment

Plugin Banner

Find Posts Using Attachment

by Sergey Biryukov

Download
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.

  1. Upload find-posts-using-attachment folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  1. “Used In” column in Media Library

    “Used In” column in Media Library

  2. “Used In” column in the attachment details modal.

    “Used In” column in the attachment details modal.

Excellent Plugin

By Pieter Sand (beachholiday) on November 19, 2025

Despite not having been updated, this plugin works flawlessly for us. Makes it very easy to see where an image has been used and to replace a file.

Excellent !

By daviddelon on May 5, 2025

Excellent plugin, still working with WP 6.8.1. If your https website contains media with http prefix, they will not be detected as used, It's better to fix this problem before running this plugin.

Great Idea for a Plugin

By sjcsdwebmaster on July 18, 2022

This plugin is really invaluable! Something like it should be included in the WP core.

Do not use.

By darrylhadfield on 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.

great

By pedrohenriqueromio on February 17, 2022

great

Excellent plugin!

By liaris on March 21, 2020

Excellent plugin! Thanks Thanks Thanks

Doesn't work. No support.

By beckseden on 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.

Works Great

By Clayton Chase (claytonchase) on December 23, 2019

Did exactly what I needed to and solved a big issue for me. Thanks!

Very useful

By John (dsl225) on December 1, 2019

Works fine as described and is accurate. Helps a lot for cleanup. Thanks!

Works great with Multisite

By PhilEsq on August 25, 2019

The plugin let me find posts and pages associated with an image so I could delete duplicate images. To use on Multisite, I installed on the main site and activated on the subsite.

1.0

  • Initial release
Back to top