该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Media Library Filter

描述

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.

屏幕截图

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

安装

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

常见问题

Does this work with custom post types?

Yes.

Does this work with custom taxonomies?

Yes.

Can I filter media by post meta, too?

序号

评价

阅读所有1条评价

贡献者及开发者

“Media Library Filter” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Media Library Filter”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.