Title: Media Library Categories
Author: jeffrey-wp
Published: <strong>November 12, 2013</strong>
Last modified: August 22, 2026

---

Search plugins

![](https://ps.w.org/wp-media-library-categories/assets/banner-772x250.png?rev=963249)

![](https://ps.w.org/wp-media-library-categories/assets/icon-256x256.gif?rev=2658310)

# Media Library Categories

 By [jeffrey-wp](https://profiles.wordpress.org/jeffrey-wp/)

[Download](https://downloads.wordpress.org/plugin/wp-media-library-categories.2.0.2.zip)

 * [Details](https://wordpress.org/plugins/wp-media-library-categories/#description)
 * [Reviews](https://wordpress.org/plugins/wp-media-library-categories/#reviews)
 *  [Installation](https://wordpress.org/plugins/wp-media-library-categories/#installation)
 * [Development](https://wordpress.org/plugins/wp-media-library-categories/#developers)

 [Support](https://wordpress.org/support/plugin/wp-media-library-categories/)

## Description

Adds the ability to use categories in the WordPress Media Library. When activated
a dropdown of categories will show up in the media library.
 You can change / add/
remove the category of multiple items at once with bulk actions. There is even an
option to filter on categories when using the gallery shortcode.

#### Features WordPress Media Library Categories

 * add / edit / remove categories from media items
 * change the category of multiple items at once with bulk actions
 * category options & management in the Media Library
 * filter on categories in the media library
 * filter on categories in the gallery shortcode
 * taxonomy filter
 * support for WordPress 4.9 – 7.1

> **Try Premium version – 100% money back guarantee**
>  WordPress Media Library Categories
> Premium adds the option to filter on categories when inserting media into a post
> or page. [Try now – 100% money back guarantee](https://1.envato.market/c/1206953/275988/4415?subId1=wpmlcp&subId2=readme&u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Fmedia-library-categories-premium%2F6691290)

## Screenshots

[⌊Filter by category in the media library. Use bulk actions to add and remove categories
of multiple images at once.⌉⌊Filter by category in the media library. Use bulk actions
to add and remove categories of multiple images at once.⌉[

Filter by category in the media library. Use bulk actions to add and remove categories
of multiple images at once.

[⌊Manage categories in the media library⌉⌊Manage categories in the media library⌉[

Manage categories in the media library

[⌊Filter by category when inserting media (premium version)⌉⌊Filter by category 
when inserting media (premium version)⌉[

Filter by category when inserting media [(premium version)](https://1.envato.market/c/1206953/275988/4415?subId1=wpmlcp&subId2=readme&u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Fmedia-library-categories-premium%2F6691290)

## Installation

For an automatic installation through WordPress:

 1. Go to the ‘Add New’ plugins screen in your WordPress admin area
 2. Search for ‘Media Library Categories’
 3. Click ‘Install Now’ and activate the plugin
 4. A dropdown of categories will show up in the media library

For a manual installation via FTP:

 1. Upload the ‘Media Library Categories’ directory to the ‘/wp-content/plugins/’ directory
 2. Activate the plugin through the ‘Plugins’ screen in your WordPress admin area
 3. A dropdown of categories will show up in the media library

To upload the plugin through WordPress, instead of FTP:

 1. Upload the downloaded zip file on the ‘Add New’ plugins screen (see the ‘Upload’
    tab) in your WordPress admin area and activate.
 2. Activate the plugin through the ‘Plugins’ screen in your WordPress admin area
 3. A dropdown of categories will show up in the media library

## FAQ

### How to use separate categories for the WordPress Media Library (and don’t use the same categories as in posts & pages)?

By default the WordPress Media Library uses the same categories as WordPress does(
such as in posts & pages). If you want to use separate categories you can use a 
custom taxonomy, this can be set under Settings  Media (or click on the settings
quicklink on the WordPress plugins overview page).

### How to use category in the [gallery] shortcode?

To only show images from one category in the gallery you have to add the ‘`category`‘
attribute to the `[gallery]` shortcode.
 The value passed to the ‘`category`‘ attribute
can be either the `category slug` or the `term_id`, for example with the category
slug:

    ```
    [gallery category="my-category-slug"]
    ```

Or with term_id:

    ```
    [gallery category="14"]
    ```

If you use an incorrect slug by default WordPress shows the images that are attached
to the page / post that is displayed. If you use an incorrect term_id no images 
are shown.

Aside from this behavior, the `[gallery]` shortcode works as it does by default 
with the built-in shortcode from WordPress ([see the WordPress gallery shortcode codex page](https://codex.wordpress.org/Gallery_Shortcode)).
If you only want to show attachments uploaded to the page and filtered by category
than use the ‘`id`‘ in combination with the ‘`category`‘ attribute. For example (
the id of the post is 123):

    ```
    [gallery category="my-category-slug" id="123"]
    ```

Or leave id empty for current page / post:

    ```
    [gallery category="my-category-slug" id=""]
    ```

In this example the slug is used, but you could also use the term_id.

### How can I filter on categories when inserting media into a post or page?

This feature is only available in the [premium version](https://1.envato.market/c/1206953/275988/4415?subId1=wpmlcp&subId2=readme&u=https%3A%2F%2Fcodecanyon.net%2Fitem%2Fmedia-library-categories-premium%2F6691290)

### I want to thank you, where can I make a donation?

Maintaining a plugin and keeping it up to date is hard work. Please support me by
making a donation. Thank you.
 [Please donate here](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SSNQMST6R28Q2)

## Reviews

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

### 󠀁[Not working anymore](https://wordpress.org/support/topic/not-working-anymore-254/)󠁿

 [annzo](https://profiles.wordpress.org/annzo/) February 2, 2024 2 replies

Actually a helpful plugin. But has not been working with WPBakery Page Builder for
some time now. Among other things, it blocks adding new images to a gallery.

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

### 󠀁[Simple and great](https://wordpress.org/support/topic/simple-and-great-217/)󠁿

 [strarsis](https://profiles.wordpress.org/strarsis/) July 9, 2023

Simple and great plugin for adding category taxonomy to WordPress media.

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

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-8851/)󠁿

 [jeffkaiser](https://profiles.wordpress.org/jeffkaiser/) June 14, 2023

This plugin is great, super helpful. I have been using it to create categories for
media items that I then use with Loopers in Theme.co’s Pro theme with Grids and 
Sliders. Saved me tons of work.

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

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-31733/)󠁿

 [Marko6548](https://profiles.wordpress.org/marko6548/) August 5, 2021 3 replies

Thank you, a great plug-in. With almost 14,000 photos and after I lost all my categories
with Enhanced Media Library plugin which I used for 6 years, this plugin (Media 
Library Categories) gave me a chance to make new categories again. Hope there will
be a choice to remove the appearance of number of photos in each category. Cheers

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

### 󠀁[Fantastic utility](https://wordpress.org/support/topic/fantastic-utility-2/)󠁿

 [todindiana](https://profiles.wordpress.org/todindiana/) November 23, 2020

After using the free version for an evening, I popped for the pro version. I found
this to be a terrific addition to my media library toolkit as it provides good options
for categorizing images. This is helpful when I’ve uploaded dozens of images and
categorized them, and I’m ready to create topic-based sliders or galleries. I can
now easily select a category, then choose images within that category without scrolling
through 100’s of unrelated images. The developer is responsive and helful to questions.

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

### 󠀁[Is not useful](https://wordpress.org/support/topic/is-not-useful/)󠁿

 [kylomylo](https://profiles.wordpress.org/kylomylo/) May 8, 2020 1 reply

So the plugin imports all categories from posts to media categories. So that isn’t
right. Why is that? Then if you delete a category from media then automatically 
delete the category from posts. So all is a mess. Disappointed.

 [ Read all 52 reviews ](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/)

## Contributors & Developers

“Media Library Categories” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ jeffrey-wp ](https://profiles.wordpress.org/jeffrey-wp/)

“Media Library Categories” has been translated into 9 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/wp-media-library-categories/contributors)
for their contributions.

[Translate “Media Library Categories” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-media-library-categories)

### Interested in development?

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

## Changelog

#### 2.0.2

 * Update Select2 dependency

#### 2.0.1

 * Fix XXS vulnerability

#### 2.0.0

 * Add escape function for input field custom taxonomy slug

#### 1.9.9

 * Fix ‘jQuery.fn.load() is deprecated’ warning

#### 1.9.8

 * Remember selected category in dropdown when filtered

#### 1.9.7

 * Add autocomplete search to the category dropdown in Media Library list view (
   which can be turned on under Settings  Media)
 * Add usability fix to highlight media library settings section when directly linked

#### 1.9.6

 * Fix taxonomy checkbox on media modal (when using custom taxonomy)

#### 1.9.5

 * Add autocomplete search to the category dropdown in Media Library grid view (
   which can be turned on under Settings  Media)
 * Fix some translation strings

#### 1.9

 * Add interface (located under Settings  Media) to separate the media categories
   from the default WordPress categories

#### 1.8

 * Indent child categories in checklist media popup

#### 1.7

 * Support WordPress 5.0
 * Support multiple slugs and id’s in gallery shortcode
 * Support WordPress Coding Standards 1.1.0
 * Add support for [Dark Mode](https://wordpress.org/plugins/dark-mode/) in WordPress

[See complete changelog for all versions](https://jeffrey-wp.com/media-library-categories-changelog/?utm_source=plugin&utm_medium=changelog&utm_campaign=wpmlc).

## Meta

 *  Version **2.0.2**
 *  Last updated **12 hours ago**
 *  Active installations **20,000+**
 *  WordPress version ** 4.9 or higher **
 *  Tested up to **7.1**
 *  Languages
 * [Czech](https://cs.wordpress.org/plugins/wp-media-library-categories/), [Danish](https://da.wordpress.org/plugins/wp-media-library-categories/),
   [Dutch](https://nl.wordpress.org/plugins/wp-media-library-categories/), [English (US)](https://wordpress.org/plugins/wp-media-library-categories/),
   [French (France)](https://fr.wordpress.org/plugins/wp-media-library-categories/),
   [German](https://de.wordpress.org/plugins/wp-media-library-categories/), [German (Switzerland)](https://de-ch.wordpress.org/plugins/wp-media-library-categories/),
   [Japanese](https://ja.wordpress.org/plugins/wp-media-library-categories/), [Russian](https://ru.wordpress.org/plugins/wp-media-library-categories/),
   and [Swedish](https://sv.wordpress.org/plugins/wp-media-library-categories/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/wp-media-library-categories)
 * Tags
 * [categories](https://wordpress.org/plugins/tags/categories/)[category](https://wordpress.org/plugins/tags/category/)
   [library](https://wordpress.org/plugins/tags/library/)[media](https://wordpress.org/plugins/tags/media/)
   [medialibrary](https://wordpress.org/plugins/tags/medialibrary/)
 *  [Advanced View](https://wordpress.org/plugins/wp-media-library-categories/advanced/)

## Ratings

 4.2 out of 5 stars.

 *  [  40 5-star reviews     ](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/?filter=5)
 *  [  2 4-star reviews     ](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/?filter=2)
 *  [  9 1-star reviews     ](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/wp-media-library-categories/reviews/)

## Contributors

 *   [ jeffrey-wp ](https://profiles.wordpress.org/jeffrey-wp/)

## Support

Issues resolved in last two months:

     1 out of 1

 [View support forum](https://wordpress.org/support/plugin/wp-media-library-categories/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=SSNQMST6R28Q2)