Title: Badge
Author: eroux
Published: <strong>2011 年 2 月 13 日</strong>
Last modified: 2024 年 5 月 3 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/badge.svg)

# Badge

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

[下載](https://downloads.wordpress.org/plugin/badge.zip)

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

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

## 外掛說明

Display “Badges” in the side-panel which points to a web-site and an image which
is then used to build the “badge”.

To access the configuration you have to go to **_Appearance_ > _Widgets_** and edit
the settings in the Panel.

Using the Widget you can choose whether to:

 1. (Optionally) display a Title
 2. Link to a site
 3. Required link to an image to mark that site (any size will work, but the “standard”
    seems to be 88 pixels wide by 31 pixels high)
 4. Pad the Badge (including centring the text); some people may prefer using their
    own CSS, so this is an optional configuration.
 5. Enable “Display Badge in a Box” (enabled by default)
 6. Enable the Displaying of a Drop-Shadow

If more control is needed, or more badges need to be displayed, the [badges plugin](https://wordpress.org/extend/plugins/badges/)
on the WordPress site might be a better fit.

## 螢幕擷圖

[⌊Create a "Licensing" badge that points to the Creative Commons website and uses
a CC 88x31 banner⌉⌊Create a "Licensing" badge that points to the Creative Commons
website and uses a CC 88x31 banner⌉[

Create a “Licensing” badge that points to the Creative Commons website and uses 
a CC 88×31 banner

[⌊The result of the configuration in No 1⌉⌊The result of the configuration in No
1⌉[

The result of the configuration in No 1

[⌊Boxing a Badge to SpreadFirefox with an added drop-shadow⌉⌊Boxing a Badge to SpreadFirefox
with an added drop-shadow⌉[

Boxing a Badge to SpreadFirefox with an added drop-shadow

[⌊The resultant Badge⌉⌊The resultant Badge⌉[

The resultant Badge

## 安裝方式

**Install**

 1. Unzip the `badges.zip` file.
 2. Upload `badges.php` to the `/wp-content/plugins/` directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Use the “Badges” widget.

**Upgrade**

 1. Follow your normal installation process
 2. Open the Widget Control Panel for “Badges” and confirm settings.
 3. Sit back and enjoy…

**Use the WordPress Plug-in System**

 1. Select “Upgrade and Activate”
 2. Congratulate yourself on a sterling job.

## 常見問題集

### How do I style the badges using CSS?

Quite simply by using the `div.badge` class.

### How do I style a single badge?

Every badge gets a unique ID generated by the plug-in based on the plug-in’s name
and the badge’s container ID. This will likely look something like “inner-badge-[
NUMBER]”.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ eroux ](https://profiles.wordpress.org/eroux/)

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

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

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

## 變更記錄

#### 1.5

 * Very minor update to update the links to my blog
 * Tested up to WordPress 5.2.3

#### 1.1

 * Minor update to add an “id” selector to the displayed badges

#### 1.0

 * Initial Public Release

## 中繼資料

 *  版本 **1.6**
 *  最後更新 **2 年前**
 *  啟用安裝數 **80+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.5.8**
 *  語言
 * [English (US)](https://wordpress.org/plugins/badge/)
 * 標籤:
 * [admin](https://tw.wordpress.org/plugins/tags/admin/)[administration](https://tw.wordpress.org/plugins/tags/administration/)
   [badges](https://tw.wordpress.org/plugins/tags/badges/)
 *  [進階檢視](https://tw.wordpress.org/plugins/badge/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

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

## 參與者

 *   [ eroux ](https://profiles.wordpress.org/eroux/)

## 技術支援

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

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