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

Term Thumbnails

描述

Post Thumbnails for WordPress Terms

Language Support

  • english
  • german

Template tags

  • get_term_thumbnail_id( $term_id )
  • has_term_thumbnail( $term_id )
  • the_term_thumbnail( $size, $attr )
  • get_term_thumbnail( $term_id, $size, $attr )

Hooks

Filters

  • term-thumbnail-taxonomies – Taxonomies that should support term thumbnails; expects an array with taxonomies
  • $taxonomy-has-thumbnails – Remove term thumbnail support for taxonomy; expects bool value

屏幕截图

  • Term listing
  • Term listing with image
  • Term edit page
  • Term edit page with image

安装

  1. Put the plugin file in your plugin directory and activate it in your WP backend.
  2. Go to any term page and add images

常见问题

How do I remove thumbnail support from a specific taxonomy

For removing support for categories put this in your functions.php
add_filter( ‘category-has-thumbnails’, ‘__return_false’ );

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“Term Thumbnails”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

v1.0.2

  • Fix: No term images for custom taxonomies

v1.0.1

  • Added: Screenshots
  • Added: readme.txt
  • Enhancement: Security improvements
  • Fix: Typo on term edit page

v1.0

  • Initial release