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.
- 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).
- Upload plugin folder to ‘/wp-content/plugins/’ directory
- Activate the plugin through ‘Plugins’ menu in WordPress admin
- Adjust plugin’s settings on WP MCM -> Settings
- Enjoy WordPress Media Category Management!
- 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:
- Enable “Use default category” in Settings
- Define the default category to use
- Upload the media for this category
- Repeat from step 2 for other categories
How do I use the shortcode of this plugin?
[wp_mcm]shortcode. Various shortcode uses are explained in the WP MCM -> Shortcodes page.
Colaboradores y desarrolladores
“WP Media Category Management” es un software de código abierto. Las siguientes personas han colaborado con este plugin.Colaboradores
Registro de cambios
- 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 [firstname.lastname@example.org].
- 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.