Title: Attachment Usage
Author: Konstantin Kröpfl
Published: <strong>7 جولای 2020</strong>
Last modified: 9 اکتبر 2020

---

جستجوی افزونه‌ها

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.

![](https://s.w.org/plugins/geopattern-icon/attachment-usage.svg)

# Attachment Usage

 توسط [Konstantin Kröpfl](https://profiles.wordpress.org/konstk/)

[دانلود](https://downloads.wordpress.org/plugin/attachment-usage.1.2.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/attachment-usage/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/attachment-usage/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/attachment-usage/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/attachment-usage/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/attachment-usage/)

## توضیحات

**_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](https://fa.wordpress.org/plugins/attachment-usage/konstk.wp@gmail.com?output_format=md)

### Contribute

Want to help improve the plugin feel free to submit PRs via Bitbucket [here](https://bitbucket.org/konstk/attachment-usage/).

## عکس‌های صفحه

[⌊This is the colored border added in the media grid view for found/not-found attachments.⌉⌊
This is the colored border added in the media grid view for found/not-found attachments
.⌉[

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.⌉⌊Button added if syncing
on page loading is deactivated.⌉[

Button added if syncing on page loading is deactivated.

[⌊Shows the information where the attachment is used in the grid view.⌉⌊Shows the
information where the attachment is used in the grid view.⌉[

Shows the information where the attachment is used in the grid view.

[⌊Shows the sortable column if media list view is selected.⌉⌊Shows the sortable 
column if media list view is selected.⌉[

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 a metabox on the
attachment edit page.⌉[

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.⌉⌊Shows the
information where the attachment is used in the list view.⌉[

Shows the information where the attachment is used in the list view.

## نصب

Quick and easy installation:

 1. Upload the folder `attachment-usage` to your plugin directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. That´s it!

## سوالات متداول

### What does this plugin do?

The plugin fetches the website content and displays an info if the attachment is

used somewhere and if so where.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/b2535e050de0a153718ae7a7580dcc982426a9a34feefcdc4124f9f4972ac9c6?
s=60&d=retro&r=g)

### 󠀁[Must-have plugin to solve the itchy problem with attachments.](https://wordpress.org/support/topic/must-have-plugin-to-solve-the-itchy-problem-with-attachments/)󠁿

 [petersweater](https://profiles.wordpress.org/petersweater/) 25 آوریل 2024 1 پاسخ

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!

![](https://secure.gravatar.com/avatar/06e91f26dbfa90e2e4925df0df16d3f535615f5780eab20d401a11c5acd27552?
s=60&d=retro&r=g)

### 󠀁[Quick and easy – good job](https://wordpress.org/support/topic/quick-and-easy-good-job/)󠁿

 [inoko](https://profiles.wordpress.org/inoko/) 9 جولای 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 🙂

 [ خواندن تمامی 2 نقد و بررسی‌ ](https://wordpress.org/support/plugin/attachment-usage/reviews/)

## توسعه دهندگان و همکاران

“Attachment Usage” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Konstantin Kröpfl ](https://profiles.wordpress.org/konstk/)

“Attachment Usage” به 1 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/attachment-usage/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Attachment Usage” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/attachment-usage)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/attachment-usage/),
check out the [SVN repository](https://plugins.svn.wordpress.org/attachment-usage/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/attachment-usage/)
by [RSS](https://plugins.trac.wordpress.org/log/attachment-usage/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 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

## اطلاعات

 *  نگارش **1.2**
 *  Last updated **6 سال پیش**
 *  نصب‌های فعال **10+**
 *  نگارش وردپرس ** 5.0 یا بالاتر **
 *  Tested up to **5.5.18**
 *  نگارش PHP ** 7.0 یا بالاتر **
 *  زبان‌ها
 * [English (US)](https://wordpress.org/plugins/attachment-usage/) و [German](https://de.wordpress.org/plugins/attachment-usage/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/attachment-usage)
 * Tags
 * [attachment](https://fa.wordpress.org/plugins/tags/attachment/)[attachments](https://fa.wordpress.org/plugins/tags/attachments/)
   [gallery](https://fa.wordpress.org/plugins/tags/gallery/)[library](https://fa.wordpress.org/plugins/tags/library/)
   [media](https://fa.wordpress.org/plugins/tags/media/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/attachment-usage/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 2 5-ستاره     ](https://wordpress.org/support/plugin/attachment-usage/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/attachment-usage/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/attachment-usage/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/attachment-usage/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/attachment-usage/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/attachment-usage/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/attachment-usage/reviews/)

## مشارکت کنندگان

 *   [ Konstantin Kröpfl ](https://profiles.wordpress.org/konstk/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/attachment-usage/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.paypal.me/konstkWP)