WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Eddie Moya v1.5

Media Categories

Easily assign categories to media with a clean, simple, and searchable category meta box. Then use the gallery shortcode to display category galleries

Media Categories

The facts

Rating
3.4★ from 7
Active installs
300+
Price
Free
Last updated
18 Dec 2012
Added
Jan 2012
Requires WP
3.3
Tested up to
WP 3.5.2
Downloads
30,342

Our analysis

AI-assisted

Media Categories is a WordPress plugin that allows users to assign categories or other taxonomy terms to items in their Media Library. It provides a simplified, searchable version of the standard category meta box, enhancing the media management experience.

The plugin integrates with the new Media Modal introduced in WordPress 3.5, enabling users to edit image categories directly from the modal screen. It also extends the native gallery shortcode to include a category parameter, allowing for more flexible image display options based on assigned categories.

Best for: This plugin suits users who need to organise media files by category within WordPress.

What it does well

  • Enables categorisation of media items in the Media Library
  • Searchable category selection feature
  • Supports new Media Modal for easier editing
  • Extends gallery shortcode with category parameter
  • Multiple metaboxes can be created for various taxonomies

Where it falls short

  • Last updated in December 2012, may not be compatible with newer WordPress features
  • Limited user ratings and active installations

Verdict

Media Categories offers useful functionality for managing media taxonomy, but its age and limited support may be a concern for some users.

From the developer

Eddie Moya's own description of Media Categories, lightly tidied.

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 Usage

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"]

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for photo galleries.

Smart Slider 3

Responsive slider plugin to create sliders in visual editor easily. Build beautiful image slider, layer slider...

Free 800k+ installs 4.9★ (1,123)
Gallery

Gallery

91

FooGallery is a fast, responsive photo gallery and image gallery plugin with 7 gallery layouts, built-in light...

Free 100k+ installs 4.8★ (986)
Firelight Lightbox

Formerly Easy Fancybox. The most popular WordPress lightbox plugin. Simple, fast, and responsive. Opens images...

Free 200k+ installs 4.8★ (355)
Feeds for YouTube

The Feeds for YouTube plugin allows you to display customizable YouTube feeds from any YouTube channel.

Free 100k+ installs 4.9★ (200)