Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Media Library Filter

Beskrivning

This plugin adds 2 drop down menus to your Media Library (WordPress Admin Area > Media) which enable you to filter the media in your library by the taxonomies and terms (ie. categories) your media is associated with.

Media is generally ”attached” to Posts, Pages, Custom Post Types, etc. All these types of posts can be associated with taxonomies and terms. This plugin allows you to filter media which is attached to any type of post by the taxonomies and terms related to those posts.

Plugin inspired by answer on StackExchange.

Limitation

The filters are only available when viewing your Media Library in ”list” mode, not ”grid” mode.

Skärmdumpar

  • Screenshot of the taxonomy and term filters on the Media Library page.

Installation

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/media-library-filter directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ’Plugins’ screen in WordPress
  3. Filter your media here WordPress Admin Area > Media > Library > List mode

Vanliga frågor

Does this work with custom post types?

Yes.

Does this work with custom taxonomies?

Yes.

Can I filter media by post meta, too?

Nej.

Recensioner

Läs 1 betyg

Bidragsgivare och utvecklare

”Media Library Filter” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Media Library Filter” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0.10 – 2020/03/08

  • Update for WordPress 5.7.

1.0.9 – 2020/12/01

  • Update for WordPress 5.6.

1.0.8 – 2020/11/03

  • Fixed PHP Notice: Trying to access array offset on value of type bool in ~/wp-content/plugins/media-library-filter/media-library-filter.php on line 421
  • Fixed PHP Notice: Trying to access array offset on value of type bool in ~/wp-content/plugins/media-library-filter/media-library-filter.php on line 422
  • Fixed PHP Notice: Trying to get property ’label’ of non-object in ~/wp-content/plugins/media-library-filter/media-library-filter.php on line 230

1.0.7 – 2020/03/11

  • Updated readme.

1.0.6 – 2019/11/12

  • Updated readme.

1.0.5 – 2019/05/06

  • Updated readme.

1.0.4 – 2019/02/19

  • Updated readme.

1.0.3

  • Updated readme.

1.0.2

  • Added README.md for Github page.

1.0.1

  • Updated ”Tested up to” version

1.0

  • Initial release.