Adds the ability to use categories in the WordPress Media Library. When activated a dropdown of categories will show up in the media library.
You can change / add / remove the category of multiple items at once with bulk actions.
There is even an option to filter on categories when using the gallery shortcode.
Try Premium version – 100% money back guarantee
WordPress Media Library Categories Premium adds the option to filter on categories when inserting media into a post or page.
Try now – 100% money back guarantee
For an automatic installation through WordPress:
For a manual installation via FTP:
To upload the plugin through WordPress, instead of FTP:
By default the WordPress Media Library uses the same categories as WordPress does (such as in posts & pages). If you want to use separate categories you can use a custom taxonomy, this can be set under Settings → Media (or click on the settings quicklink on the WordPress plugins overview page).
To only show images from one category in the gallery you have to add the ‘
category‘ attribute to the
The value passed to the ‘
category‘ attribute can be either the
category slug or the
term_id, for example with the category slug:
Or with term_id:
If you use an incorrect slug by default WordPress shows the images that are attached to the page / post that is displayed. If you use an incorrect term_id no images are shown.
Aside from this behavior, the
[gallery] shortcode works as it does by default with the built-in shortcode from WordPress (see the WordPress gallery shortcode codex page). If you only want to show attachments uploaded to the page and filtered by category than use the ‘
id‘ in combination with the ‘
category‘ attribute. For example (the id of the post is 123):
[gallery category="my-category-slug" id="123"]
Or leave id empty for current page / post:
[gallery category="my-category-slug" id=""]
In this example the slug is used, but you could also use the term_id.
This feature is only available in the premium version
Maintaining a plugin and keeping it up to date is hard work. Please support me by making a donation. Thank you.
Please donate here
Adds the ability to use categories in the media library.View Cart
Cookiebot is a cloud-driven solution that automatically controls cookies an...
WooCommerce AJAX Product Filters - Advanced product filtering ability for y...
Remove meta author and date information from posts and pages. Hide from Hum...
YouTube Embed WordPress Plugin. Embed a responsive video, YouTube channel g...