Currency code lets you use live currency conversions either as a shortcode in your content or as a widget in your sidebar.
货币代码可让您将实时货币转换用作内容中的短代码或侧边栏中的小部件。 p>
Supports 31 different currencies, with values updating automatically on site once a day.
支持31种不同的货币,其值每天在网站上自动更新一次。 p>
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/).
对话值由Openexchangerates(https://openexchangerates.org/)提供的fixer.io(http://fixer.io)和货币汇率库(托管在/js/money.min.js中)处理。
NO DATA COLLECTED BY EITHER SERVICE OR PLUGIN.
没有任何服务或插件收集的数据。 p>
Fixer.io Licence: https://github.com/hakanensari/fixer-io/blob/master/LICENSE
Fixer.io许可证:https://github.com/hakanensari/fixer-io/blob/master/LICENSE
OpenExchangeRates Licence: https://github.com/openexchangerates/money.js/blob/master/license
OpenExchangeRates许可证:https://github.com/openexchangerates/money.js/blob/master/license p>
FAQ / Info
常见问题解答/信息 h3>
Shortcode
简码 h3>
To use the shortcode, simply use something like the default value below in your content:
要使用简码,只需在内容中使用类似下面的默认值的 p>:
[currency from=”GBP” to=”USD” round=”2″]
[货币从=“ GBP”到=“ USD”回合=“ 2”] p>
You can replace the currency values with any of the supported currencies, which are listed below.
您可以使用下面列出的任何受支持的货币替换货币值。 p>
The round attribute controls to how many decimal places the figure display will round to.
round属性控制图形显示将舍入到小数点后几位。 p>
The sample output for this is:
此示例输出为: p>
1 GBP = 1.33 USD
1英镑= 1.33美元 p>
Widget
小部件 h3>
To use the widget go to Appearance -> Widgets and drag the Currency Converter widget into one of your sidebars.
要使用该小部件,请转到外观->小部件,然后将Currency Converter小部件拖到侧边栏之一。 p>
The sample output of the widget is the same as the shortcode:
小部件的示例输出与短代码相同: p>
1 GBP = 1.33 USD
1英镑= 1.33美元 p>
To see how the widget works code-wise check out the JSFiddle the widget is built from (https://jsfiddle.net/stevenkellow/x3hdtja6/2/)
要查看小部件如何以代码方式工作,请查看JSFiddle,该小部件是从(https://jsfiddle.net/stevenkellow/x3hdtja6/2/)构建的。 p>
Currencies
货币 h3>
Here are the 31 available currencies for use with this plugin:
以下是此插件可使用的31种可用货币: p>
AUD = Australian Dollars
AUD =澳大利亚元
BRL = Brazilian Reals
BRL =巴西雷亚尔
BGN = Bulgarian Levs
BGN =保加利亚列弗
CAD = Canadian Dollars
CAD =加元
CNY = Chinese Yuan Renminbi
CNY =人民币
HRK = Croatian Kunas
HRK =克罗地亚库纳斯
CZK = Czech Koruna
CZK =捷克克朗
DKK = Danish Kroner
DKK =丹麦克朗
EUR = Euros
欧元=欧元
HKD = Hong Kong Dollar
HKD =港元
HUF = Hungarian Florins
HUF =匈牙利弗罗林斯
INR = Indian Rupee
INR =印度卢比
IDR = Indonesian Rupiah
IDR =印尼盾
ILS = Israeli Shekel
ILS =以色列谢克尔
JPY = Japanese Yen
JPY =日元
KRW = Korean Won
KRW =韩元
MYR = Malaysian Ringgits
MYR =马来西亚林吉特
MXN = Mexican Pesos
MXN =墨西哥比索
NZD = New Zealand Dollar
NZD =新西兰元
NOK = Norwegian Kroner
NOK =挪威克朗
PHP = Philippine Pesos
PHP =菲律宾比索
PLN = Polish Zloty
PLN =波兰兹罗提
RON = Romanian Leus
RON =罗马尼亚新列伊
RUB = Russian Rubles
RUB =俄罗斯卢布
SGD = Singapore Dollars
SGD =新加坡元
ZAR = South African Rand
ZAR =南非兰特
SEK = Swedish Krona
SEK =瑞典克朗
CHF = Swiss Francs
CHF =瑞士法郎
THB = Thai Baht
THB =泰铢
TRY = Turkish Lira
TRY =土耳其里拉
GBP = UK Pounds
GBP =英镑
USD = US Dollars
USD =美元 p>