Title: Category Icon
Author: pixelgrade
Published: <strong>2015 年 10 月 10 日</strong>
Last modified: 2026 年 5 月 17 日

---

搜尋外掛

![](https://ps.w.org/category-icon/assets/banner-772x250.png?rev=1263844)

![](https://ps.w.org/category-icon/assets/icon.svg?rev=1263877)

# Category Icon

 由 [pixelgrade](https://profiles.wordpress.org/pixelgrade/) 開發

[下載](https://downloads.wordpress.org/plugin/category-icon.1.0.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/category-icon/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/category-icon/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/category-icon/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/category-icon/#developers)

 [技術支援](https://wordpress.org/support/plugin/category-icon/)

## 外掛說明

A WordPress plugin to easily attach an icon to a category, tag or any other taxonomy
term.

** Now supports a category, tag or any other taxonomy image field, also.

Please note that this plugin will not automatically output the icon or the image
on the frontend of our site.

It is up to you to query and output in your theme using the provided getter functions:`
get_term_icon_id()`, `get_term_icon_url()`, `get_term_image_id()`, `get_term_image_url()`.

## 安裝方式

 1. Install Category Icon either via the WordPress.org plugin directory, or by uploading
    the files to your `/wp-content/plugins/` directory
 2. After activating Category Icon go and edit any category or term to see the upload
    field.
 3. Now you can add or edit category, tags or any other taxonomy terms icons.

## 使用者評論

![](https://secure.gravatar.com/avatar/c72b1c71cd0802e6bbedf05b201ccfa2526709ed43cec735d9bd6da662c5b1da?
s=60&d=retro&r=g)

### 󠀁[No documentation](https://wordpress.org/support/topic/no-documentation-52/)󠁿

 [mogeh](https://profiles.wordpress.org/mogeh/) 2022 年 12 月 8 日

How would someone implement your plugin if there is no documentation? The idea is
good but the delivery is poor taste.

![](https://secure.gravatar.com/avatar/72c999339f3a4d12eb4356d97decbf047563fa603480fbdf80a9d5536f696e33?
s=60&d=retro&r=g)

### 󠀁[not working anymore on wp 5.4.2 anymore](https://wordpress.org/support/topic/not-working-anymore-on-wp-5-2-4-anymore/)󠁿

 [farzinsb](https://profiles.wordpress.org/farzinsb/) 2020 年 6 月 27 日

It is causing errors for my other plugins without showing any errors on screen or
in error_log file or chrome console in latest wp update 5.4.2. so I removed it.

![](https://secure.gravatar.com/avatar/26291a3e27bd18f19210e959736696d8527c5888fa120aaeea76025b6df94891?
s=60&d=retro&r=g)

### 󠀁[Absolutely useless](https://wordpress.org/support/topic/absolutely-useless-8/)󠁿

 [Joe Bloggs](https://profiles.wordpress.org/joe-bloggs/) 2019 年 11 月 24 日 1 
則留言

This plugin is absolutely useless without any instructions on how to actually fetch
the icon after it has been assigned to a taxonomy term. No support what’s so ever,
support questions unanswered, figure out for your self kind of thing. Well done 
guys!

 [ 閱讀全部 3 則使用者評論 ](https://wordpress.org/support/plugin/category-icon/reviews/)

## 參與者及開發者

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

參與者

 *   [ pixelgrade ](https://profiles.wordpress.org/pixelgrade/)
 *   [ vlad.olaru ](https://profiles.wordpress.org/vladolaru/)
 *   [ George Olaru ](https://profiles.wordpress.org/babbardel/)

〈Category Icon〉外掛目前已有 6 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/category-icon/contributors)
為這個外掛做出的貢獻。

[將〈Category Icon〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/category-icon)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/category-icon/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/category-icon/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/category-icon/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/category-icon/)。

## 變更記錄

#### 1.0.4

 * Updated WordPress compatibility metadata for WordPress 7.0.
 * Fixed Plugin Check errors in the release package.
 * Hardened taxonomy term meta saving with explicit nonce and capability checks.
 * Escaped taxonomy admin output and sanitized settings values.
 * Scoped admin assets and SVG upload handling to Category Icon taxonomy screens.
 * Replaced the legacy SVG media modal output buffer with attachment response data.

#### 1.0.3

 * Security: sanitize and strictly validate term icon / image IDs on save and escape
   them on output to prevent XSS via the `term_icon_value` and `term_image_value`
   fields, even for Editor-level users.

#### 1.0.2

 * Security: patched blind XXE/SSRF in SVG upload flow – external entity loading
   and network access are now disabled; malformed SVGs are rejected (fail-closed).

#### 1.0.1

 * Added sanitization for SVG uploads to prevent Cross-Site Scripting (XSS) vulnerabilities.
 * Implemented secure file naming for uploaded SVG files by appending a random suffix
   to filenames.
 * Enhanced upload handling to ensure SVG files are sanitized in place without altering
   the original upload path.
 * Improved compatibility with WordPress file upload checks.

#### 1.0.0

 * Ensure compatibility with WordPress 5.9
 * Add getter functions for term icon and image.
 * Update build process.
 * Clarify description and instructions about what this plugin does and doesn’t 
   do.

#### 0.7.1

 * Improve compatibility with WordPress 5.7

#### 0.7.0

 * We did several compatibility checks with Gutenberg so everything will work just
   fine
 * Solved an issue where Category-Icon was having a conflict with other plugins 
   in the Dashboard

#### 0.6.0

 * Add a category image field to be used as featured category image

#### 0.5.0

 * Deploy on wordpress.org

#### 0.0.1

 * Init Plugin

## 中繼資料

 *  版本 **1.0.4**
 *  最後更新 **1 個月前**
 *  啟用安裝數 **2,000+**
 *  WordPress 版本需求 ** 5.9.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/category-icon/)、[Spanish (Chile)](https://cl.wordpress.org/plugins/category-icon/)、
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/category-icon/)、[Spanish (Mexico)](https://es-mx.wordpress.org/plugins/category-icon/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/category-icon/)、[Spanish (Venezuela)](https://ve.wordpress.org/plugins/category-icon/)、
   及 [Swedish](https://sv.wordpress.org/plugins/category-icon/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/category-icon)
 * 標籤:
 * [category](https://tw.wordpress.org/plugins/tags/category/)[icon](https://tw.wordpress.org/plugins/tags/icon/)
   [image](https://tw.wordpress.org/plugins/tags/image/)[taxonomy](https://tw.wordpress.org/plugins/tags/taxonomy/)
   [term](https://tw.wordpress.org/plugins/tags/term/)
 *  [進階檢視](https://tw.wordpress.org/plugins/category-icon/advanced/)

## 評分

 1 星，滿分為 5 星

 *  [  0 個 5 星使用者評論     ](https://wordpress.org/support/plugin/category-icon/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/category-icon/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/category-icon/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/category-icon/reviews/?filter=2)
 *  [  3 個 1 星使用者評論     ](https://wordpress.org/support/plugin/category-icon/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/category-icon/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/category-icon/reviews/)

## 參與者

 *   [ pixelgrade ](https://profiles.wordpress.org/pixelgrade/)
 *   [ vlad.olaru ](https://profiles.wordpress.org/vladolaru/)
 *   [ George Olaru ](https://profiles.wordpress.org/babbardel/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/category-icon/)