WordPress plugin
WordPress Media Library Categories Premium
WordPress Media Library Categories Premium includes category management to the WordPress Media Library. Add, edit, or remove categories on media entries, filter the library by category, and change category assignments for several items at once with bulk actions.
Organize media with categories
WordPress Media Library Categories Premium includes category management to the WordPress Media Library. Add, edit, or remove categories on media entries, filter the library by category, and change category assignments for several items at once with bulk actions.
By default, media uses the same categories as posts and pages. To keep media categories separate, set a custom taxonomy under Settings > Media. Taxonomy filter support is listed for WordPress 4.9 through 7.1.
Filter media while inserting it
The Premium edition adds a category filter when inserting media into a post or page. Select a category to narrow the media shown in the picker.
Filter gallery images by category
Add the category attribute to the WordPress [gallery] shortcode. Its value can be a category slug or term ID:
[gallery category="my-category-slug"]uses a category slug.[gallery category="14"]uses a term ID.
To display attachments uploaded to a particular post and filter them by category, combine id and category, as in [gallery category="my-category-slug" id="123"]. Leave the ID empty to target the current post or page: [gallery category="my-category-slug" id=""]. The shortcode otherwise works like the built-in WordPress gallery shortcode. If the slug is incorrect, WordPress shows images attached to the displayed post or page by default; an incorrect term ID returns no images.
Get started
Install and activate the add-on, then open the Media Library to assign categories, filter items, or use bulk actions. Choose a custom taxonomy under Settings > Media if media needs its own category structure. For a category-filtered gallery, add the category attribute with the relevant slug or term ID.
