[WordPress] 外掛分享: Category and Taxonomy Image

首頁外掛目錄 › Category and Taxonomy Image
WordPress 外掛 Category and Taxonomy Image 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
4,000+
安裝啟用
★★★☆☆
3.7/5 分(20 則評價)
1333 天前
最後更新
問題解決
WordPress 3.5.0+ v1.0.0 上架:2015-07-25

內容簡介

Category and Taxonomy Image Plugin 允許您添加類別/分類法的圖片。
您可以在模板中使用下列函數以獲得類別/分類法圖片:

if (function_exists('get_wp_term_image'))
{
$meta_image = get_wp_term_image($term_id);
//它會給出類別/分類法圖片的url
}

echo $meta_image; //類別/分類法圖片的url

$term_id 為 ‘類別/分類法 id’

功能

設定,啟用哪個分類法的圖片欄位。
非常簡單易用。
易於自定義。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Category and Taxonomy Image」→ 直接安裝(推薦)

原文外掛簡介

Category and Taxonomy Image Plugin allow you to add image with category/taxonomy.
you can use the following function into your templates to get category/term image:

if (function_exists('get_wp_term_image'))
{
$meta_image = get_wp_term_image($term_id);
//It will give category/term image url
}

echo $meta_image; // category/term image url

where $term_id is ‘category/term id’
Features

Setting ,for which taxonomy ,image field is to be enable.
Very simple in use
Can be customized easily.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon