Title: Media Search Enhanced
Author: Yoren Chang
Published: <strong>2014年3月23日</strong>
Last modified: 2026年9月9日

---

プラグインを検索

![](https://s.w.org/plugins/geopattern-icon/media-search-enhanced.svg)

# Media Search Enhanced

 作者: [Yoren Chang](https://profiles.wordpress.org/1fixdotio/)

[ダウンロード](https://downloads.wordpress.org/plugin/media-search-enhanced.1.0.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/media-search-enhanced/#description)
 * [レビュー](https://ja.wordpress.org/plugins/media-search-enhanced/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/media-search-enhanced/#installation)
 * [開発](https://ja.wordpress.org/plugins/media-search-enhanced/#developers)

 [サポート](https://wordpress.org/support/plugin/media-search-enhanced/)

## 説明

**Try it live in your browser** — [launch the WordPress Playground demo](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/1fixdotio/media-search-enhanced/master/blueprint/playground.blueprint.json).
Boots a WordPress instance with this plugin active and a Media Library seeded with
8 attachments, so you can see the cross-field search in action immediately. Searching`
mountain` returns 6 hits (matches in filename and alt text included) — core WordPress
search would only find 3.

This plugin is made for:

 * Search through all fields in Media Library, including: ID, title, caption, alternative
   text and description.
 * Search Taxonomies for Media, include the name, slug and description fields.
 * Search media file name.
 * **Multi-term search** — Anywhere in the WordPress admin (the Media Library list
   view at `upload.php`, the “Add Media” modal, and other admin screens), use commas
   to search for multiple items at once (e.g. `image-a.jpg, photo-2.jpg`). Matches
   attachments containing **any** of the terms. Limited to 10 terms per search. 
   Frontend searches still treat commas as literal characters, as a query-amplification
   guard for public pages.
 * Use shortcode `[mse-search-form]` to insert a media search form in posts and 
   template files. It will search for media by all fields mentioned above.

## スクリーンショット

[⌊Demo search on the Media Library screen.⌉⌊Demo search on the Media Library screen
.⌉[

Demo search on the Media Library screen.

[⌊Demo search on the Insert Media - Media Library screen.⌉⌊Demo search on the Insert
Media - Media Library screen.⌉[

Demo search on the Insert Media – Media Library screen.

## インストール

#### Using The WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for ‘media-search-enhanced’
 3. Click ‘Install Now’
 4. Activate the plugin on the Plugin dashboard

#### Uploading in WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `media-search-enhanced.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Download `media-search-enhanced.zip`
 2. Extract the `media-search-enhanced` directory to your computer
 3. Upload the `media-search-enhanced` directory to the `/wp-content/plugins/` directory
 4. Activate the plugin in the Plugin dashboard

## FAQ

### How to link media to the file itself rather than the attachment page in media search results page?

Please add the following code to the `functions.php` in your theme:

    ```
    function my_get_attachment_url( $url, $post_id ) {

        $url = wp_get_attachment_url( $post_id );

        return $url;
    }
    add_filter( 'mse_get_attachment_url', 'my_get_attachment_url', 10, 2 );
    ```

## 評価

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

### 󠀁[Excellent plugin and support!](https://wordpress.org/support/topic/excellent-plugin-and-support-657/)󠁿

 [Frederickson](https://profiles.wordpress.org/frederickson/) 2026年4月23日

Very, very happy with this plugin and the support received from the developer who
was kind enough to add a massive time-saving update to this plugin which nows allows
to search multiple images at the same time in the Wordpress multimedia image library
by using a comma as separator between the images that you want to look up. This 
is a massive time saver if you want to look up ranges of different images / photos
in your image library and for instance delete these when updating product or other
image catalogs in Wordpress or Woocommerce websites / stores. Thanks a lot for the
excellent update, Yoren! Frederick

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

### 󠀁[Don’t install, will cripple your site](https://wordpress.org/support/topic/dont-install-will-cripple-your-site/)󠁿

 [bhasic](https://profiles.wordpress.org/bhasic/) 2024年2月8日

Searching with this will use all resources and cripple your site. Don't install 
this. Developer doesn't update this.

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

### 󠀁[No longer working – breaks media search completely](https://wordpress.org/support/topic/no-longer-working-breaks-media-search-completely/)󠁿

 [Tomas Eklund](https://profiles.wordpress.org/tomas-eklund/) 2021年12月21日

I've noticed that a few other users on the support pages have reported that this
plugin, which hasn't been updated for the last two years, no longer works as intended.
In fact, it breaks the media library search functionality completely. I can attest
to this. This is very unfortunate as the functionality that this plugin seemingly
used to provide would be very useful to me.

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

### 󠀁[Wonderful plug-and-play plugin that lets me search through alt text](https://wordpress.org/support/topic/wonderful-plug-and-play-plugin-that-lets-me-search-through-alt-text/)󠁿

 [waterdandelions](https://profiles.wordpress.org/waterdandelions/) 2019年11月1日

I find this plugin really convenient because I name my media files only with alphabets,
but I write the alternative text in my non-alphabetical language. After the installation,
I can search both titles and ALT text. Also, it is a plus that it needs no set-up.
I am really grateful to the developer for creating and maintaining this useful plugin.

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

### 󠀁[It saves me!](https://wordpress.org/support/topic/it-saves-me/)󠁿

 [Baharehtz](https://profiles.wordpress.org/baharehtz/) 2017年7月10日 1 reply

I had problems with finding in media library search the images that I have added
in the passed few years, searching them with the file name wasn't working at all..
till I installed this plugin, things start to work and I don't have anymore this
problem! Great job! Thanks.

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

### 󠀁[Essential!](https://wordpress.org/support/topic/essential-168/)󠁿

 [Ken Gagne](https://profiles.wordpress.org/kgagne/) 2017年3月29日 1 reply

This plugin was essential for my photoblog and its thousands of media library files.
How else could I ever expect to find what I was looking for?

 [ 28件のレビューをすべて表示 ](https://wordpress.org/support/plugin/media-search-enhanced/reviews/)

## 貢献者と開発者

Media Search Enhanced はオープンソースソフトウェアです。以下の人々がこのプラグイン
に貢献しています。

貢献者

 *   [ Yoren Chang ](https://profiles.wordpress.org/1fixdotio/)
 *   [ yoren ](https://profiles.wordpress.org/yoren/)

“Media Search Enhanced” は3ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/media-search-enhanced/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“Media Search Enhanced” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/media-search-enhanced)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/media-search-enhanced/)
するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/media-search-enhanced/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/media-search-enhanced/)
を [RSS](https://plugins.trac.wordpress.org/log/media-search-enhanced/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0.1

 * Fix: The `[mse-search-form]` shortcode returned no results on the frontend. Attachment
   searches that don’t specify a post status now default to `inherit`; without it
   WordPress core restricts the query to public statuses, which no attachment has.
   Regression introduced in 1.0.0.
 * Note: Any query for attachments with a search term and no explicit post status
   now finds attachments where it previously matched nothing.

#### 1.0.0

 * New: Multi-term search — use commas to search for multiple items at once anywhere
   in wp-admin, including the Media Library list view and the “Add Media” modal (
   e.g. `sunset.jpg, logo.png`). Limited to 10 terms. Frontend searches still treat
   commas as literal characters.
 * Performance: Replaced LEFT JOINs + DISTINCT with EXISTS subqueries, eliminating
   temporary tables and improving search speed up to 10x on large media libraries.
 * Performance: Numeric searches (e.g. searching by attachment ID) now use exact
   integer matching instead of string comparison, enabling primary key index usage.
 * Compatibility: The plugin no longer overwrites the entire WHERE clause. Conditions
   from WordPress core and other plugins are now preserved.
 * Security: Fixed reflected XSS in the search form placeholder.
 * Security: Private attachments are now only visible to users with appropriate 
   permissions (editors/admins see all; authors see only their own).
 * Developer: Added `mse_max_search_terms` filter to customize the multi-term cap(
   default 10). Added `mse_allow_multi_term_search` filter to customize where multi-
   term search is allowed; defaults to `is_admin()`.

#### 0.9.2

 * Security enhancements.

#### 0.9.1

 * Fix: Prevent “Not unique table/alias: wp_postmeta” SQL error by aliasing the 
   postmeta JOIN. Props [@mikemeinz](https://wordpress.org/support/users/mikemeinz/).
   See https://wordpress.org/support/topic/sql-syntax-error-26/

#### 0.9.0

 * Added the languages pt_BR and es_ES. Thanks to [@larodiel](https://github.com/1fixdotio/media-search-enhanced/pull/4).
 * Fixed an issue when searching for images in the Image block, the plugin caused
   the HTTP 500 error. Also thanks to [@larodiel](https://github.com/1fixdotio/media-search-enhanced/pull/4).

#### 0.8.1

 * Fix PHP notices and updated the “Tested up to” field.

#### 0.8.0

 * Supporting MIME type and date filters when searching in the Media Library. Thanks
   to [@jedifunk](https://wordpress.org/support/topic/results-filters) for spotting
   this bug.

#### 0.7.3

 * Fix PHP warnings. Thanks to [@DavidOn3](https://wordpress.org/support/topic/warning-message-in-search-result-page).

#### 0.7.2

 * Bug fix: Make the search work with WPML Media – All languages.
 * Filter the search form if it’s on the media search results page.
 * Make the images clickable in the search results. Can be disabled by setting the
   filter `mse_is_image_clickable` to `false`.

#### 0.7.1

 * Bug fix: Remove duplicate search results when WPML plugin is activated, THE RIGHT
   WAY.

#### 0.7.0

 * Remove duplicate search results when WPML plugin is activated. Props [@joseluiscruz](https://wordpress.org/support/topic/minor-conflict-with-wpml-media-plugin).

#### 0.6.1

 * Security update: use `$wpdb->prepare` to process SQL statements. Thanks to [@daxelrod](https://profiles.wordpress.org/daxelrod/)
   for this.

#### 0.6.0

 * Add ID to search fields.
 * Modify the clauses with `posts_clauses` filter.

#### 0.5.4

 * Add filter `mse_get_attachment_url` to modify the attachment URLs in the media
   search results.

#### 0.5.3

 * Bug fix: Filtered excerpt should be returned, not echoed.

#### 0.5.2

 * Display thumbnails in the media search results.

#### 0.5

 * Use shortcode `[mse-search-form]` to insert a media search form in posts, which
   only searches for media files (through all fields).

#### 0.4

 * Search media file name.

#### 0.3

 * If there are Taxonomies for Media, search the name, slug and description fields.

#### 0.2.1

 * Add DISTINCT statement to SQL when query media in the “Insert Media” screen

#### 0.2.0

 * The first version

## メタ

 *  バージョン **1.0.1**
 *  最終更新日 **1か月前**
 *  有効インストール数 **5,000+**
 *  WordPress バージョン ** 3.5またはそれ以降 **
 *  検証済み最新バージョン: **6.9.10**
 *  言語
 * [Dutch](https://nl.wordpress.org/plugins/media-search-enhanced/)、[English (US)](https://wordpress.org/plugins/media-search-enhanced/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/media-search-enhanced/)、[Spanish (Spain)](https://es.wordpress.org/plugins/media-search-enhanced/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/media-search-enhanced)
 * タグ
 * [attachment](https://ja.wordpress.org/plugins/tags/attachment/)[media](https://ja.wordpress.org/plugins/tags/media/)
   [media library](https://ja.wordpress.org/plugins/tags/media-library/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/media-search-enhanced/advanced/)

## 評価

 5つ星中4.4つ星

 *  [  23 5-星レビュー     ](https://wordpress.org/support/plugin/media-search-enhanced/reviews/?filter=5)
 *  [  1 4-星レビュー     ](https://wordpress.org/support/plugin/media-search-enhanced/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/media-search-enhanced/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/media-search-enhanced/reviews/?filter=2)
 *  [  4 1-星レビュー     ](https://wordpress.org/support/plugin/media-search-enhanced/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/media-search-enhanced/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/media-search-enhanced/reviews/)

## 貢献者

 *   [ Yoren Chang ](https://profiles.wordpress.org/1fixdotio/)
 *   [ yoren ](https://profiles.wordpress.org/yoren/)

## サポート

過去2ヶ月以内に解決した問題:

     1 / 1

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/media-search-enhanced/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://1fix.io/)