Media Library Categories

설명

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.

Features WordPress Media Library Categories

  • add / edit / remove categories from media items
  • change the category of multiple items at once with bulk actions
  • category options & management in the Media Library
  • filter on categories in the media library
  • filter on categories in the gallery shortcode
  • taxonomy filter
  • support for WordPress 4.0 – 6.2

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

스크린샷

  • Filter by category in the media library. Use bulk actions to add and remove categories of multiple images at once.
  • Manage categories in the media library
  • Filter by category when inserting media (premium version)

설치

워드 프레스를 통해 자동 설치 :

  1. 당신의 워드 프레스 관리자 영역에서 ‘추가 새로운’플러그인 화면으로 이동
  2. Search for ‘Media Library Categories’
  3. ‘지금 설치’를 클릭하고 플러그인을 활성화
  4. A dropdown of categories will show up in the media library

FTP를 통해 수동 설치 :

  1. Upload the ‘Media Library Categories’ directory to the ‘/wp-content/plugins/’ directory
  2. 당신의 워드 프레스 관리자 영역에서 ‘플러그인’화면을 통해 플러그인을 활성화
  3. A dropdown of categories will show up in the media library

대신 FTP의, 워드 프레스를 통해 플러그인을 업로드하려면 :

  1. 당신의 워드 프레스 관리자 영역에서 ‘추가 새로운’플러그인 화면 ( ‘업로드’탭 참조)에 다운로드 한 zip 파일을 업로드하고 활성화합니다.
  2. 당신의 워드 프레스 관리자 영역에서 ‘플러그인’화면을 통해 플러그인을 활성화
  3. A dropdown of categories will show up in the media library

FAQ

How to use separate categories for the WordPress Media Library (and don’t use the same categories as in posts & pages)?

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).

How to use category in the [gallery] shortcode?

To only show images from one category in the gallery you have to add the ‘category‘ attribute to the [gallery] shortcode.
The value passed to the ‘category‘ attribute can be either the category slug or the term_id, for example with the category slug:

[gallery category="my-category-slug"]

Or with term_id:

[gallery category="14"]

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.

How can I filter on categories when inserting media into a post or page?

This feature is only available in the premium version

I want to thank you, where can I make a donation?

Maintaining a plugin and keeping it up to date is hard work. Please support me by making a donation. Thank you.
Please donate here

후기

2021년 8월 5일 3 replies
Thank you, a great plug-in. With almost 14,000 photos and after I lost all my categories with Enhanced Media Library plugin which I used for 6 years, this plugin (Media Library Categories) gave me a chance to make new categories again. Hope there will be a choice to remove the appearance of number of photos in each category. Cheers
2020년 11월 23일
After using the free version for an evening, I popped for the pro version. I found this to be a terrific addition to my media library toolkit as it provides good options for categorizing images. This is helpful when I've uploaded dozens of images and categorized them, and I'm ready to create topic-based sliders or galleries. I can now easily select a category, then choose images within that category without scrolling through 100's of unrelated images. The developer is responsive and helful to questions.
2020년 5월 8일 1 reply
So the plugin imports all categories from posts to media categories. So that isn't right. Why is that? Then if you delete a category from media then automatically delete the category from posts. So all is a mess. Disappointed.
2020년 4월 10일
This was exactly what I was looking for, it installed without any issues and so far appears to be working just fine. A small improvement would be the ability to filter the media list to see only images that have not been categorized at all. Or, at least allow the the media list to be sorted by using the 'Categories' label at the top of the categories column in the list. Many thanks.
2019년 11월 17일 1 reply
I had to do the functions.php fix in the FAQ, and also had to make it "media_categories" and not "categories_media". I don't know if that was just me, but if anyone runs into problems try that, also make sure you don't have extra quotes or anything copy straight from the code box. After buying Premium, i could transition from Enhanced Media Library to this one. I have over 20,000 images and was not looking forward to reorganizing them. The only things missing in this plugin are grid editing, and bulk delete/assign from grid. Grid is just so much easier when dealing with lots of files. If that capability is added all will be gold. That nag aside, I'm using this now and look forward to more improvements.
2019년 8월 30일 1 reply
When using the Media Library Categories with WPML with separate media categories from post categories; then it looses it's wpml compatibility, is there a fix for this? (When it shared the categories with the posts the categories were seperate from wpml languages) Meaning the separate media categories is not seperate from each WPML languages but instead are shared across languages. If you look into this for me I will gradly translate the plugin to danish as it's my native language as I would like to have this plugin for my multilanguage site.
모든 49 평가 읽기

기여자 & 개발자

“Media Library Categories”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Media Library Categories”(이)가 8(으)로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Media Library Categories”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.0.0

  • Add escape function for input field custom taxonomy slug

1.9.9

  • Fix ‘jQuery.fn.load() is deprecated’ warning

1.9.8

  • Remember selected category in dropdown when filtered

1.9.7

  • Add autocomplete search to the category dropdown in Media Library list view (which can be turned on under Settings → Media)
  • Add usability fix to highlight media library settings section when directly linked

1.9.6

  • Fix taxonomy checkbox on media modal (when using custom taxonomy)

1.9.5

  • Add autocomplete search to the category dropdown in Media Library grid view (which can be turned on under Settings → Media)
  • Fix some translation strings

1.9

  • Add interface (located under Settings → Media) to separate the media categories from the default WordPress categories

1.8

  • Indent child categories in checklist media popup

1.7

  • Support WordPress 5.0
  • Support multiple slugs and id’s in gallery shortcode
  • Support WordPress Coding Standards 1.1.0
  • Add support for Dark Mode in WordPress

See complete changelog for all versions.