這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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’ );

評價

There are no reviews for this plugin.

貢獻者及開發者

“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