Media Categories
Allows users to assign categories (or other taxonomy terms) to items in their Media Library with a clean and simplified, searchable version of the standard category meta box. The “Search Categories” field allows you to…
Betrachten Sie eine Alternative
Media Categories shows warning signs in 2026 — compare the alternatives below before installing. It runs on 300+ sites, is rated 3.4/5 and was last updated 14 years ago, and scores 32/100 on our health check.
- Kleine Benutzerbasis (300+ aktive Installationen)
- Low rating so far — 3.4/5 from only 7 reviews
- No update in 13 years
- Only tested up to WordPress 3.5 (latest is 7.1)
Tägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Media Categories stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| attachment categories | >100 |
| categories | >100 |
| Kategorie | >100 |
| media | >100 |
| media categories | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 3.4 from 7 reviews
About Media Categories
From the official readme · v1.5Beschreibung
Allows users to assign categories (or other taxonomy terms) to items in their Media Library with a clean and simplified, searchable version of the standard category meta box.
The “Search Categories” field allows you to narrow your search for a category as you type – this functionality is not native to WordPress but is instead borrowed from Jason Corradino’s
Searchable Categories plugin. If you would like to enable this feature for your posts
download his plugin here
Since WordPress 3.5 now supports attachment taxonomy, the work of adding a metabox to the attachment editor is happening entirely inside of WordPress. This is great, and we now have true metaboxes for taxonomy – they core team has also accepted my patches which caused several headaches for this plugin. Media Categories 1.5 takes advantage of the new Media Modal – with this plugin, you can now edit a images categories directly from the modal screen. I’ve also fixed some long standing bugs with the shortcode gallery functionality.
Updates
- Since version 1.5 : Supports the new WordPress 3.5 by adding the metabox to the new Media Modal. Also fixed bugs in the gallery shorcode behavior. All while still supporting 3.3.x – 3.4.x
- Since version 1.4 : This plugin allows for multiple metaboxes to be created for any number of taxonomies.
- Since version 1.3 : A filter has been added to allow developers to modify which taxonomy is being used. See ‘Other Notes’ > ‘Taxonomy Filter Usage’ for details
- Since version 1.2 : This plugin extends the native [gallery] shortcode of WordPress so that it has a ‘category’ parameter. See the “Shortcode Usage” under “Other Notes” for more details.
Shortcode-Nutzung
Normal Shortcode Usage
This plugin takes advantage of the existing [gallery] shortcode for showing images by adding the 'category' parameter.
The value passed to the 'category' parameter can be either the category slug, or the term_id.
[gallery category="my-category-slug"]
OR
[gallery category="12"]
Its important to note that when passing the 'category' parameter, the [gallery] shortcode will by default ignore the current post
and simply try to include all images from the category. The syntax above will retrieve any images that are assigned
to 'my-category-slug' a.k.a term id #12, regardless of whether or not those images are attached to the current post.
To query within a post (even the current post), you’ll need to explicitly add the post id as such…
[gallery category="my-category-slug" id="43"]
This shortcode will retrieve any images attached to post #43 that are categorized as 'my-slug-category'.
Aside from this behavior, the [gallery] shortcode should behave exactly as it does by default with the built-in shortcode.
The id parameter will behave as normal when the category parameter is not invoked.
For more information on using the built-in gallery shortcode checkout the codex page.
Other Taxonomy Shortcode Usage
If a developer implementing this plugin has made use of the mc_taxonomy filter to modify which taxonomy
this plugin uses for attachments, then the name of that particular taxonomy will need to be used in place of category
as the shortcode parameter. For example, if you applied ‘Post Tags’ to your images then users should use the post_tag parameter
in the Gallery Shortcode.
[gallery post_tag="my-tag-slug"]
OR
[gallery post_tag="12"]
[Warning: nerdy developer stuff ahead]
Multiple Taxonomy Metaboxes *NEW!*
Since 1.4 this plugin allows developers to create metaboxes for any number of taxonomies. While previous the previous version allowed
developers to change the taxonomy being used, it still only allowed a single taxonomy metabox to be generated. With 1.4, that has changed.
All a developer needs to do, is create a new instance of the Media_Categories class and pass their desired taxonomy as an argument.
$my_custom_media_metabox = new Media_Categories('my_custom_taxonomy');
Thats it!, nothing else to it, the plugin will take care of the rest. You can create as many instances as you like – just make sure to be careful
when doing this in conjunction with the mc_taxonomy filter – always check the current taxonomy.
Obviously this works with any taxonomy, including built-in taxonomies such as ‘post_tag’, ‘link_categories’,
and yes, even ‘nav_menu’. I’ll leave it to you developers out uses for that.
Taxonomy Filter Usage: ‘mc_taxonomy’
Note: Since 1.4, this plugin allows developers to generate any number of metaboxes, for any number of different taxonomies. Because of this,
it is important that when filtering the taxonomy, developers conditionally check the current taxonomy before returning a different – otherwise
the filter would override all instances of the plugin’s metaboxes with the same taxonomy. The examples below have been changes accordingly
Since version 1.3, the Media Categories plugin includes a filter allowing developers to modify the taxonomy being used.
Changing the taxonomy will automatically change all the labels used around the metabox, and change the way the Gallery Shortcode
works so that it accommodates whatever taxonomy has been chosen.
The tag for this filter is 'mc_taxonomy', and usage could not be simpler.
add_filter('mc_taxonomy', 'mc_filter_taxonomy');
function mc_filter_taxonomy($taxonomy){
if($taxonomy == 'category'){
$taxonomy = 'post_tag';
}
return $taxonomy
}
The above code will swap out all references to ‘category’ with appropriate (properly pluralized) references to the ‘post_tag’ taxonomy.
It will also change the way the Gallery Shortcode works to use your chosen taxonomy.
Important (potential gotchas)
- The
categoryparameter for the Gallery Shortcode will be changed by using this filter, so that instead ofcategoryis will byyour_taxonomy. In the case above with tags,
you would write a shortcode as such.[gallery post_tag="my-tag"]OR[gallery post_tag="43"]. - If using a Custom Taxonomy with this plugin, be sure to assign values to the labels for proper pluralization and context
Related Plugin
Checkout this great plugin for Searchable Categories by Jason Corradino, whose javascript I use in this plugin.
I believe this very simple functionality should be a part of the standard categories metabox in core.
While I do not employ the plugin directly, the javascript used for filtering/searching is in fact derived with
consent, and a few modifications from that plugin. To enable this feature on all your category metaboxes, install the
Searchable Categories plugin.
- Searchable Categories by Jason Corradino
Installation
- Upload
/media-categories-2/in das/wp-content/plugins/-Verzeichnis - Aktivieren Sie das Plugin über das „Plugins“-Menü in WordPress
Änderungsprotokoll
Update for WordPress 3.5 compatibility, and important bug fixes for all versions of WordPress
1.5
- Updated for WordPress 3.5
- For WordPress 3.5 – Stop showing our custom metabox in the main image editor, let users use the built in metaboxes.
- For WordPress 3.5 – Add customized metabox to the new Media Modal attachment details.
- Bugfix: Gallery Shortcode would only work if a taxonomy and term were provided. This has been solved for all supported version of WordPress.
- Bugfix: The search filter on the metabox – deleting everying in the search filter resulted in no items being found. This has been solved for all supported version of WordPress.
1.4.1
- Missing javascript update for the 1.4 update.
1.4
- New feature! Add multiple metaboxes for media, one for any desired taxonomy by a developer.
1.3.1
- Bug Fix: Workaround to conflicts caused by the way WordPress handles attachments with taxonomies enabled, causing terms with the same name of conflict.
- Relevant Trac Ticket
1.3
- Added a filter to allow developers to change the taxonomy being used for their media.
- Modified the Gallery Shortcode functionality to work with any chosen taxonomy.
1.2
- Added
'category'parameter to[gallery]shortcode. - Modified the Searchable Categories script to make the search field case insensitive.
- Fixed styling problem on Media Library modal windows – the filter and styling were not working.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Fragen und Antworten
Media Categories: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Media Categories free?
Yes. Media Categories is free to download and use from the official WordPress.org plugin directory.
Is Media Categories safe to use in 2026?
Media Categories shows warning signs in 2026 — compare the alternatives below before installing. It runs on 300+ sites, is rated 3.4/5 and was last updated 14 years ago, and scores 32/100 on our health check.
How many websites use Media Categories?
Media Categories is active on 300+ WordPress websites and has been downloaded 30,677 times since it launched in January 2012. It was downloaded 161 times in the last 30 days.
Does Media Categories work with WordPress 7.1?
Media Categories is officially tested up to WordPress 3.5.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Media Categories last updated?
The latest version, 1.5, was released on December 18, 2012 (14 years ago).
Who makes Media Categories?
Media Categories is developed and maintained by Eddie Moya.
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte



