WP Media Category Management


This WordPress plugin will ease the management of media categories, including bulk actions.
It supports categories for media using either the existing post categories or a dedicated media_category custom taxonomy.
The plugin supports easy category toggling on the media list page view and also bulk toggling for multiple media at once.
It now also supports post tags and media taxonomies defined by other plugins.

Main Features

  • Use post categories or dedicated media categories.
  • Control your media categories via admin the same way as post categories.
  • Bulk toggle any media taxonomy assignment from Media Library via admin.
  • Filter media files in Media Library by your custom taxonomies, both in list and grid view.
  • Use new or existing shortcode to filter the media on galleries in posts.
  • Use a default category while uploading (see FAQ section).


  • The admin page showing the options for this plugin.
  • Managing the new Media Category taxonomy.
  • Setting Media Category options for a media post.
  • Media List page view showing individual toggle options for first media post.
  • Media List page view showing bulk toggle actions for selected media post.
  • Media List page view showing filter options for Media Categories.
  • Media Grid page view showing filter options for Media Categories.
  • The admin page showing the shortcode explanations for this plugin.
  • The post edit page showing an example using the [wp-mcm category="mediafoto,medialogo"] shortcode.
  • The post page showing the results of the example using the [wp-mcm category="mediafoto,medialogo"] shortcode.


  1. Upload plugin folder to ‘/wp-content/plugins/’ directory
  2. Activate the plugin through ‘Plugins’ menu in WordPress admin
  3. Adjust plugin’s settings on WP MCM -> Settings
  4. Enjoy WordPress Media Category Management!
  5. Use shortcode [wp_mcm taxonomy="<slug>" category="<slugs>"] in your posts or pages, see also WP MCM -> Shortcodes


How do I use this plugin?

On the options page, define which taxonomy to use for media: either use the standard post taxonomy, a dedicated media taxonomy or a custom media taxonomy.
Define the categories to be used for media.
Toggle category assignments to media, either individually or in bulk.
Use category filter when adding media to posts or pages.

How do I use this plugin to support the media taxonomy of another plugin?

There are a number of plugins available for managing media categories.
This plugin now supports the settings previously defined to support those media categories.

Check out the MCM Settings page which shows an option “Media Taxonomy To Use”.
The dropdown list of this option shows a list of all taxonomies currently used by this WordPress installation.
The option “(P) Categories” is the taxonomy defined by default for posts.
The option “MCM Categories” is the taxonomy previously defined as “Media Categories” by version 1.1 and earlier of this plugin.
If there are other taxonomies currently assigned to attachments, the list shows the corresponding taxonomy slug prefixed with (*).
When such a taxonomy is selected to be used, the taxonomy will be registered anew with the indication “(*) Custom MCM Categories“.
As long as this taxonomy is selected, the functionality available for “MCM Categories” is now available for these “(*) Custom MCM Categories“, i.e. toggling and filtering.
The name shown for the “(*) Custom MCM Categories” can be changed using the option “Name for Custom MCM Taxonomy” on the MCM Settings page.

How can I use the “Default Media Category”?

First enable the option “Use Default Category” on the MCM Settings page.
When enabled and a media attachment has no category defined yet, the value of “Default Media Category” will be assigned automatically when a media attachment is added or edited.
The default value is also used in the [wp_mcm] shortcode to automatically filter the attachments to be shown.

Steps to assign a default category while uploading:

  1. Enable “Use default category” in Settings
  2. Define the default category to use
  3. Upload the media for this category
  4. Repeat from step 2 for other categories

How do I use the shortcode of this plugin?

Use the [wp_mcm] shortcode. Various shortcode uses are explained in the WP MCM -> Shortcodes page.


فبراير 16, 2023
This is a good plugin. Does what it says it's going to do. The developer has an open mind and reads feedback. Great features that I can tell a lot of thought went into. Refreshing, and no annoying things asking me for money. Thanks!
دجنبر 30, 2020
I tried a couple of others, but the simpicity of this plugin is what I'm looking for. The categories are managed by the built-in WP functions, and the picture can be easily categorized either during uploading (on the spot), or afterwards with a simple click. Bsides, when you insert the media into the webpage, it gives the same categories, so you can easily filter those what's approrpiate in the current case. I use it within a page builder (Visual Composer) and it works great - a place where even the more hyped category managers fail! Absolutely recommended!
أبريل 9, 2020
I love this plugin for categorizing and filter my media library of documents and images. I have eight categories and over 400 PDFs and image files. The filtering is so helpful when trying to find the correct item.
Read all 34 reviews

Contributors & Developers

“WP Media Category Management” is open source software. The following people have contributed to this plugin.


“WP Media Category Management” has been translated into 3 locales. Thank you to the translators for their contributions.

Translate “WP Media Category Management” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


  • Tested for WP 6.1.


  • Tested for WP 6.0.
  • Reworked debugMP functionality
  • Fixed handling wp_mcm_flush_rewrite_rules to take less performance


  • Tested for WP 5.8.2.
  • Fixed CSS bug preventing showing selector when inserting images


  • Tested for WP 5.4.1.
  • Added option to disable filter for media with Gutenberg blocks


  • Tested for WP 5.4.0.
  • Added support for adding media with Gutenberg blocks


  • Tested for WP 5.3.2.
  • Fixed deprecated use of screen_icon()
  • Implemented notice function to ask for help


  • Tested for WP 5.1.1.
  • Fixed issue with shortcode showing default no category
  • Fixed issue with post_save for attachments


  • Tested for WP 5.1.
  • Fixed issue with counting large amounts of media


  • Tested for WP 5.0.3.


  • Added support for category base permalink.


  • Tested for WP 4.6.
  • Added support for new shortcode attribute ‘show_category_link’.
  • Fixed support for MCM Categories Widget.
  • Fixed rewrite rules when changing taxonomy.


  • Tested for WP 4.5.


  • Tested for WP 4.4.2.


  • Fixed Text Domain and Author to support translations on WordPress.org.


  • Using media filter on more relevant pages than only for posts and media.
  • When selected also show Post Categories together with MCM Categories in Media List View.
  • Improved labels when showing Tags or Post Categories.
  • Removed WP-MCM shortcode parameters when using alternative_shortcode, e.g. [dg] for [Document Gallery] (https://wordpress.org/plugins/document-gallery/).


  • Fixed issue with using post categories when selected as MCM Category.


  • Fixed issue with filtering posts, only perform additional media search on non-admin pages.


  • Fixed issue with translating “MCM Shortcodes”
  • Change textdomain to ‘wp-media-category-management’ from MCM_LANG per forthcoming translate.wordpress.org standards.
  • Added Portuguese (pt_PT) translation as provided by Pedro Mendonça [www.pedromendonca.pt]


  • Fixed issue with showing bulk actions when filtering.


  • Update to support WordPress 4.3.
  • Allow use of admin functions in front-end.
  • Added Settings link to action links on Installed Plugins page.
  • Added screen-reader-text to filter.
  • Fixed handling checkbox options.
  • Used check for search to skip searching completely.


  • Fixed issue with filtering media in combination with search function.


  • Added support for media category permalinks.
  • Added support for MCM Category widgets using the permalinks.
  • Added option to search the media library.
  • Removed trailing spaces from translatable key words.


  • Fixed issue with filtering media.


  • Added German translation (thanks Marcel Dischinger).
  • Fixed issue filtering media on ‘No categories’ for post categories.
  • Fixed a non-translatable text.


  • Tested up to WP 4.2.1.
  • Added support for tags also used by posts.


  • Added Serbo-Croatian translation (thanks Andrijana Nikolic [andrijanan@webhostinggeeks.com].


  • Added French translation (thanks Pierre).


  • Tested up to WP 4.1.1.
  • Added filter support for MCM categories when adding media to new post.


  • Fixed issue with display of filter when adding media in posts and pages.
  • Changed menu icon into a dashicon to improve visibility.
  • Changed urls to https.


  • Tested up to WP 4.1.
  • Changed row actions text to only show ‘Toggle’ for first category to save space.


  • Added filter to view uncategorized media files only.


  • Fixed issue with finding taxonomies to use.


  • Fixed issue with updating options.
  • Improved support for MCM categories in modal edit mode.
  • Improved support for Custom MCM names.
  • Improved support for use of POST categories.
  • Added support for new shortcode parameter “alternative_shortcode”.


  • Renamed “Media Categories” to “MCM Categories” for easier distinction from other taxonomies.
  • Added support for media categories as defined by other plugins.
  • Updated MCM Settings page to reflect support for other media categories.
  • Added support for new shortcode parameter “taxonomy”.


  • Create default options when activating.
  • Limit dark table header to WP_MCM shortcode screen only.


  • Added category filter functionality when adding media to posts or pages.
  • Added functionality to define default category when adding or editing a media file.
  • Added a switch to enable and disable the assignment of default category.
  • Added category filter functionality to the media grid view.
  • Added a new screenshot showing filter in media grid view.


  • Fixed bug managing post categories in combination with “Use Post Taxonomy” flag.
  • Improved asset images for repository.


  • First version starting the plugin.