Title: Currency Code
Author: stevenkellow
Published: <strong>2016 年 11 月 8 日</strong>
Last modified: 2016 年 11 月 8 日

---

搜尋外掛

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

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

# Currency Code

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

[下載](https://downloads.wordpress.org/plugin/currency-code.0.1.zip)

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

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

## 外掛說明

Currency code lets you use live currency conversions either as a shortcode in your
content or as a widget in your sidebar.

Supports 31 different currencies, with values updating automatically on site once
a day.

Conversation values are processed by fixer.io (http://fixer.io) & currency rate 
library (hosted in /js/money.min.js) provided by Openexchangerates (https://openexchangerates.
org/). NO DATA COLLECTED BY EITHER SERVICE OR PLUGIN.

Fixer.io Licence: https://github.com/hakanensari/fixer-io/blob/master/LICENSE
 OpenExchangeRates
Licence: https://github.com/openexchangerates/money.js/blob/master/license

### FAQ / Info

### Shortcode

To use the shortcode, simply use something like the default value below in your 
content:

[currency from=”GBP” to=”USD” round=”2″]

You can replace the currency values with any of the supported currencies, which 
are listed below.

The round attribute controls to how many decimal places the figure display will 
round to.

The sample output for this is:

1 GBP = 1.33 USD

### Widget

To use the widget go to Appearance -> Widgets and drag the Currency Converter widget
into one of your sidebars.

The sample output of the widget is the same as the shortcode:

1 GBP = 1.33 USD

To see how the widget works code-wise check out the JSFiddle the widget is built
from (https://jsfiddle.net/stevenkellow/x3hdtja6/2/)

### Currencies

Here are the 31 available currencies for use with this plugin:

AUD = Australian Dollars
 BRL = Brazilian Reals BGN = Bulgarian Levs CAD = Canadian
Dollars CNY = Chinese Yuan Renminbi HRK = Croatian Kunas CZK = Czech Koruna DKK 
= Danish Kroner EUR = Euros HKD = Hong Kong Dollar HUF = Hungarian Florins INR =
Indian Rupee IDR = Indonesian Rupiah ILS = Israeli Shekel JPY = Japanese Yen KRW
= Korean Won MYR = Malaysian Ringgits MXN = Mexican Pesos NZD = New Zealand Dollar
NOK = Norwegian Kroner PHP = Philippine Pesos PLN = Polish Zloty RON = Romanian 
Leus RUB = Russian Rubles SGD = Singapore Dollars ZAR = South African Rand SEK =
Swedish Krona CHF = Swiss Francs THB = Thai Baht TRY = Turkish Lira GBP = UK Pounds
USD = US Dollars

## 安裝方式

 1. Upload the plugin files to the `/wp-content/plugins/currency-code` directory, or
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

Shortcodes work out-of-the-box and widgets require adding to your sidebar before
being available.

## 使用者評論

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

## 參與者及開發者

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

參與者

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

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

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

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

## 變更記錄

0.1 – 20th October 2016
 – First version of the plugin

## 中繼資料

 *  版本 **0.1**
 *  最後更新 **10 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.6.30**
 *  語言
 * [English (US)](https://wordpress.org/plugins/currency-code/)
 * 標籤:
 * [conversion](https://tw.wordpress.org/plugins/tags/conversion/)[currency](https://tw.wordpress.org/plugins/tags/currency/)
   [shortcode](https://tw.wordpress.org/plugins/tags/shortcode/)[widget](https://tw.wordpress.org/plugins/tags/widget/)
 *  [進階檢視](https://tw.wordpress.org/plugins/currency-code/advanced/)

## 評分

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

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

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

## 參與者

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

## 技術支援

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

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