跳至主要內容
  • 登入
  • 註冊
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress

外掛目錄

  • 我的最愛
  • Beta 版測試
  • 開發者資訊

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

下載

WP Term Images

由 John James Jacoby 開發
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

為分類、標籤及其他分類法詞彙加上可供辨識的圖片。

WP Term Images allows users to assign images to any visible category, tag, or taxonomy term using the media library, providing a customized look for their taxonomies.

Dependencies

Not since WordPress 4.4.

Install the WP Term Meta plugin if you’re on an earlier version.

Also checkout

  • WP Chosen
  • WP Pretty Filters
  • WP Media Categories
  • WP Term Order
  • WP Term Authors
  • WP Term Colors
  • WP Term Icons
  • WP Term Visibility
  • WP User Activity
  • WP User Avatars
  • WP User Groups
  • WP User Profiles

螢幕擷圖

  • Category Images

安裝方式

  • Download and install using the built in WordPress plugin installer.
  • Activate in the “Plugins” area of your admin by clicking the “Activate” link.
  • No further setup or configuration is necessary.

常見問題集

Does this create new database tables?

No. There are no new database tables with this plugin.

Does this modify existing database tables?

No. All of WordPress’s core database tables remain untouched.

How do I get the image for a term?

With WordPress’s get_term_meta() function

// image id is stored as term meta
$image_id = get_term_meta( 7, 'image', true );

// image data stored in array, second argument is which image size to retrieve
$image_data = wp_get_attachment_image_src( $image_id, 'full' );

// image url is the first item in the array (aka 0)
$image = $image_data[0];

if ( ! empty( $image ) ) {
    echo '<img src="' . esc_url( $image ) . '" />';
}

Where can I get support?

  • Basic: https://wordpress.org/support/plugin/wp-term-images/
  • Priority: https://chat.flox.io/support/channels/wp-term-images/

Where can I find documentation?

http://github.com/stuttter/wp-term-images/

使用者評論

Simple and less intrusive

Alvaro Gois dos Santos 2021 年 1 月 23 日
It's simple and less intrusive than other plugins that do the same. It blends better with WordPress UI. It doesn't show anything in the frontend if the correct code isn't added to the theme, something like this I guess: <?php $taximg_id = get_queried_object()->term_id; // image id is stored as term meta $image_id = get_term_meta( $taximg_id, 'image', true ); // image data stored in array, second argument is which image size to retrieve $image_data = wp_get_attachment_image_src( $image_id, 'full' ); // image url is the first item in the array (aka 0) $image = $image_data[0]; if( $image ) { echo "<img src=" . $image . " class='term-image'>"; } ?>

Plugin is out of date, don’t use

joopon 2019 年 5 月 23 日
Not compatible with Woocommerce 3.6.3. All taxonomies disappear.

Just what I need

Knut Sparhell 2019 年 5 月 1 日
Excellent! Works like a charm. Very useful for building nice term pages.

Thank you

dimitris33 2017 年 6 月 2 日
Just tested with the latest version of WP.

Best Plugin For Uploading Term Images

Michelle 2017 年 4 月 29 日
Used this plugin to upload images for each category and child category using get_terms to display the images in a template.

Thanks!

wellbeingtips 2017 年 1 月 27 日
keep up the good job!
閱讀全部 10 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Term Images〉的開發相關工作。

參與者
  • John James Jacoby
  • Stuttter

〈WP Term Images〉外掛目前已有 9 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈WP Term Images〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

[1.0.0] – 2017-01-16

  • Stability!
  • Fix text domains
  • Simplify some JavaScript
  • Handle more JavaScript edge-cases

[0.3.1] – 2016-07-13

  • Fix regular edits

[0.3.0] – 2016-05-27

  • Fix quick-edits
  • Update WP Term Meta UI dependency to 0.1.9

[0.2.0] – 2016-01-07

  • Fix new-term form action hi-jacking
  • Update WP Term Meta UI dependency to 0.1.4

[0.1.0] – 2015-11-09

  • Initial release

中繼資料

  • 最新版本: 1.0.0
  • 最後更新: 2 年前
  • 啟用安裝數: 3,000+
  • WordPress 版本需求: 4.4 或更新版本
  • 已測試相容的 WordPress 版本: 5.6.10
  • 語言:

    Chinese (Taiwan)、English (UK)、English (US)、German、Japanese、Norwegian (Bokmål)、Polish、Portuguese (Portugal)、Spanish (Spain)、及 Swedish.

    將這個外掛本地化為你的母語版本

  • 標籤:
    imagemetametadatataxonomyterm
  • 進階檢視

評分

檢視全部
  • 5 星 9
  • 4 星 0
  • 3 星 0
  • 2 星 0
  • 1 星 1
登入以提交評論

參與者

  • John James Jacoby
  • Stuttter

技術支援

最近 2 個月解決的問題:

總計 1 個問題,已解決 0 個

查看技術支援論壇

贊助

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 主機託管
  • 贊助基金會
  • Swag
  • 線上說明
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛目錄
  • 佈景主題目錄
  • 區塊版面配置目錄
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Taiwan 正體中文

  • 造訪我們的 Facebook 粉絲專頁
  • 造訪我們的 Twitter 帳號
  • Visit our Instagram account
  • Visit our LinkedIn account
程式碼,如詩