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

Media Taxonomies

描述

WordPress taxonomies for media files.
Plugin ships with media-category and media-tag taxonomy

ToDo

  • implement wp.media like ‘All’ selection, this is currently achieved by a workaround

安装

  • Put the plugin file in your plugin directory and activate it in your WP backend.
  • Go to your media library and add some categories

常见问题

Why does my term count not match if I add another taxonomy?

This might be a failure in your register_taxanomy function.
You have to set update_count_callback to _update_generic_term_count in the taxonomy registration
Visit for more information https://codex.wordpress.org/Function_Reference/register_taxonomy

I added another taxonomy for attachments, but don’t want to use the features of this plugin.

Ok, use the media-taxonomies hook to remove your taxonomy from the list

Known Bugs
  • Registering a core taxonomy via register_taxonomy_for_object_type( 'post_tag', 'attachment' ) won’t work

评价

2016 年 9 月 3 日
I’ve tried a few media library plugins with varying levels of success, but they all did far too much for what I needed, which was simply to add categories and tags to attachments. This plugin does that and, more importantly, inserts filter select dropdowns in the appropriate places throughout Wordpress, including the media modal interface. Adding taxonomies to attachments isn’t hard in Wordpress for developers, but dealing with the media modal interface can be a real head-scratcher, so this plugin is worth it for that alone.
阅读所有1条评价

贡献者及开发者

「Media Taxonomies」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Media Taxonomies」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.3

  • Add new terms functionality
  • Small improvements

1.2.2

  • Small improvements

1.2.1

  • Enhancement: Modal select box label changed to use WordPress standard – props Dirk

1.2

  • Bugfix: Media modal filter did not work, broke due last versions fix

1.1

  • Bugfix: Media overview filter did not work

1.0

  • Added integrated modal filter – props Wyck
  • Added german language file

0.9.1

  • Added modal filter

0.9

  • Preview version