Beskrivning
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.
Media Library Categories funktioner
- lägg till / ändra / ta bort kategorier från mediaobjekt
- ändra kategorin för flera objekt på en gång med massredigeringsåtgärder
- kategorialternativ och -hantering i mediabiblioteket
- filtrera efter kategorier i mediabiblioteket
- filtrera efter kategorier i [gallery]-kortkoden
- taxonomi-filter
- support for WordPress 4.0 – 6.7
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
Skärmdumpar
Filter by category in the media library. Use bulk actions to add and remove categories of multiple images at once. Hantera kategorier i mediabiblioteket Filtrera efter kategori vid infogning av media (premiumversionen)
Installation
För en automatisk installation via WordPress:
- Gå till sidan ”Lägg till tillägg” i WordPress adminpanel
- Sök efter ”Media Library Categories”
- Klicka på ”Installera nu” och aktivera tillägget
- En rullgardinsmeny med kategorier kommer visas i mediabiblioteket
För en manuell installation via FTP:
- Ladda upp ”Media Library Categories”-katalogen till katalogen ”/wp-content/plugins/”
- Aktivera tillägget på sidan ”Tillägg” i din WordPress-adminpanel.
- En rullgardinsmeny med kategorier kommer visas i mediabiblioteket
För att ladda upp tillägget via WordPress istället för FTP:
- Ladda upp den nedladdade zip-filen på sidan ”Lägg till tillägg” i din WordPress-adminpanel (Notera fliken ”Ladda upp”) och aktivera.
- Aktivera tillägget på sidan ”Tillägg” i din WordPress-adminpanel.
- En rullgardinsmeny med kategorier kommer visas i mediabiblioteket
Vanliga frågor
-
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). -
Hur används kategorier i [gallery]-kortkoden?
-
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 thecategory slug
or theterm_id
, for example with the category slug:[gallery category="my-category-slug"]
Eller med 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"]
Eller lämna id tomt för nuvarande sida/inlägg:
[gallery category="my-category-slug" id=""]
I detta exempel används slug, men du kan även använda term_id.
-
Hur kan jag filtrera på kategorier när jag infogar media i ett inlägg eller på en sida?
-
Denna funktion är endast tillgänglig i premiumversionen
-
Jag vill tacka dig, hur kan jag ge ett bidrag?
-
Att underhålla ett tillägg och hålla det uppdaterat är ett tufft arbete. Stöd mig genom att donera. Tack.
Donera här
Recensioner
Bidragsgivare och utvecklare
”Media Library Categories” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personer”Media Library Categories” har översatts till 9 språk. Tack till översättarna för deras bidrag.
Översätt ”Media Library Categories” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
2.0.2
- Update Select2 dependency
2.0.1
- Fix XXS vulnerability
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)
- Åtgärdar några strängar för översättning
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
- Stödjer 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