Title: Exchange Rates Widget
Author: falselight
Published: <strong>2018 年 2 月 10 日</strong>
Last modified: 2026 年 8 月 20 日

---

搜索插件

![](https://ps.w.org/exchange-rates-widget/assets/banner-772x250.jpg?rev=1838248)

![](https://ps.w.org/exchange-rates-widget/assets/icon.svg?rev=1838248)

# Exchange Rates Widget

 作者：[falselight](https://profiles.wordpress.org/falselight/)

[下载](https://downloads.wordpress.org/plugin/exchange-rates-widget.1.4.4.zip)

 * [详情](https://cn.wordpress.org/plugins/exchange-rates-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/exchange-rates-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/exchange-rates-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/exchange-rates-widget/#developers)

 [支持](https://wordpress.org/support/plugin/exchange-rates-widget/)

## 描述

Exchange Rates Widget helps visitors compare live exchange rates without leaving
your WordPress page.
 Add clean live exchange rates to finance articles, tourism
and travel guides, news websites, pricing pages, business blogs, and sidebars with
a shortcode or classic widget.

Visitors get instant context for 190+ currencies, crypto assets, and metals.
 Site
owners get a lightweight setup: no API key, no local rate database, and no exchange-
rate processing load on WordPress.

#### ⭐ What makes it useful

 * 🌍 190+ currencies and assets, including popular cryptocurrencies and metals.
 * 🧩 Add rates with a shortcode, the Shortcode block, or a classic WordPress widget.
 * ⚡ No API key, local exchange-rate database, or exchange-rate processing load
   on your WordPress site.
 * 📱 Responsive layout for posts, pages, sidebars, and footers.
 * 🎨 Multiple color themes for matching different site designs.
 * 🌐 Multilingual widget labels for international audiences.
 * 🕒 Time zone setting for the displayed update date.
 * 🔒 SSL-ready CurrencyRate.Today service URLs.

#### 🎯 Where it works best

 * Finance blogs that need a quick EUR, USD, GBP, JPY, or crypto reference.
 * Tourism and travel websites where readers compare destination prices in familiar
   currencies.
 * News websites that cover markets, business, travel, inflation, or international
   stories.
 * Pricing and comparison pages that need a simple exchange-rate reference nearby.
 * Business websites that want always-visible rates in a sidebar or footer.
 * Multilingual sites that need exchange-rate labels in the visitor’s language.

#### 👀 Demos

 * Official demo: [Exchange Rates Widget](https://currencyrate.today/exchangerates-widget)
 * Product demo: [Exchange Rates Widget on Yuri.ws](https://yuri.ws/wordpress-plugins/exchange-rate-widget/)

#### 🚀 Quick start

 1. Install and activate Exchange Rates Widget.
 2. Paste the shortcode into a post, page, or Shortcode block.
 3. Choose the base currency, target currencies, language, theme, and amount.
 4. Optionally add the classic widget to a sidebar or footer.

Important: this plugin provides a classic `WP_Widget`.
 On modern WordPress installations
with the block-based widget screen, install and activate Classic Widgets to manage
the widget in Appearance > Widgets. Shortcodes work without Classic Widgets.

#### 🧩 Shortcode examples

Market widget example:

    ```
    [erw_exchange_rates_widget lg="en" tz="0" fm="EUR" to="USD,GBP,AUD,CNY,JPY,RUB" st="info" cd="0" am="100" size_width="100%"][/erw_exchange_rates_widget]
    ```

Travel widget example:

    ```
    [erw_exchange_rates_widget lg="en" tz="0" fm="USD" to="EUR,JPY,GBP" st="success" cd="1" am="100" size_width="100%"][/erw_exchange_rates_widget]
    ```

#### 🔧 Shortcode attributes

 * `lg` – language. Supported values: `en`, `ru`, `it`, `fr`, `es`, `de`, `cn`, `
   pt`, `ja`, `id`, `hi`.
 * `tz` – time zone offset.
 * `fm` – base currency code, for example `EUR`.
 * `to` – comma-separated target currency codes, for example `USD,GBP,AUD,CNY,JPY,
   RUB`.
 * `st` – theme. Supported values: `primary`, `info`, `danger`, `warning`, `default`,`
   success`.
 * `cd` – display mode. Use `1` to show currency codes only or `0` to show currency
   names.
 * `am` – amount shown by the rates widget, for example `100`.
 * `size_width` – widget width, for example `100%`, `240px`, or `300px`.

Currency codes are listed at [https://currencyrate.today/different-currencies](https://currencyrate.today/different-currencies).

### Donations

Official website and data source: [CurrencyRate.Today](https://currencyrate.today/)

You may also like these plugins:

 * [Currency Converter Calculator](https://wordpress.org/plugins/currency-converter-calculator/)
 * [Crypto Converter Widget](https://wordpress.org/plugins/crypto-converter-widget/)
 * [Cryptocurrency Price Widget](https://wordpress.org/plugins/cryptocurrency-price-widget/)
 * [Currency Converter Widget PRO](https://wordpress.org/plugins/currency-converter-widget-pro/)
 * [CurrencyRate.Today – Currency Blocks and Widgets](https://wordpress.org/plugins/currencyrate-today-currency-blocks/)
 * [Exchange Rates](https://wordpress.org/plugins/exchange-rates/)
 * [FX Currency Converter](https://wordpress.org/plugins/fx-currency-converter/)

## 屏幕截图

[⌊screenshot-1.jpg: Widget settings.⌉⌊screenshot-1.jpg: Widget settings.⌉[

screenshot-1.jpg: Widget settings.

[⌊screenshot-2.jpg: Example frontend exchange rates widget.⌉⌊screenshot-2.jpg: Example
frontend exchange rates widget.⌉[

screenshot-2.jpg: Example frontend exchange rates widget.

[⌊screenshot-3.png: Dark blue theme.⌉⌊screenshot-3.png: Dark blue theme.⌉[

screenshot-3.png: Dark blue theme.

[⌊screenshot-4.png: Gray theme.⌉⌊screenshot-4.png: Gray theme.⌉[

screenshot-4.png: Gray theme.

[⌊screenshot-5.png: Green theme.⌉⌊screenshot-5.png: Green theme.⌉[

screenshot-5.png: Green theme.

[⌊screenshot-6.png: Yellow theme.⌉⌊screenshot-6.png: Yellow theme.⌉[

screenshot-6.png: Yellow theme.

[⌊screenshot-7.png: Red theme.⌉⌊screenshot-7.png: Red theme.⌉[

screenshot-7.png: Red theme.

[⌊screenshot-8.png: Blue theme.⌉⌊screenshot-8.png: Blue theme.⌉[

screenshot-8.png: Blue theme.

## 安装

#### From your WordPress dashboard

 1. Go to Plugins > Add New.
 2. Search for “Exchange Rates Widget”.
 3. Install and activate the plugin.
 4. Add the shortcode to a page or post, or add the classic widget under Appearance
    > Widgets.

#### From WordPress.org

 1. Download Exchange Rates Widget.
 2. Upload the `exchange-rates-widget` folder to `/wp-content/plugins/`.
 3. Activate the plugin from Plugins > Installed Plugins.
 4. Add the shortcode to a page or post, or add the classic widget under Appearance
    > Widgets.

#### Classic widget setup

 1. Install and activate the [Classic Widgets plugin](https://wordpress.org/plugins/classic-widgets/)
    if your site uses the block-based widget screen.
 2. Go to Appearance > Widgets.
 3. Add “Exchange Rates Widget” to a widget area.
 4. Choose currencies, language, theme, amount, and display options, then save.

## 常见问题

### How do I add exchange rates to a page or post?

Use a shortcode or paste it into a Shortcode block:

    ```
    [erw_exchange_rates_widget lg="en" tz="0" fm="EUR" to="USD,GBP,AUD,CNY,JPY,RUB" st="info" cd="0" am="100" size_width="100%"][/erw_exchange_rates_widget]
    ```

### Can I show exchange rates in a sidebar?

Yes. Add “Exchange Rates Widget” under Appearance > Widgets.
 If your WordPress 
site uses the block-based widget screen, install and activate Classic Widgets first.

### Do visitors leave my website to view rates?

No. The widget is embedded directly on your page, post, sidebar, or footer.

### Does the plugin require an API key?

No. Exchange-rate lookup and display are handled by the embedded CurrencyRate.Today
service, so you do not need an API key or local rate database.

### Can I choose currencies, language, and theme?

Yes. You can choose the base currency, target currencies, language, time zone, color
theme, amount, and display mode.

### Which shortcode attributes are available?

The main attributes are `lg`, `tz`, `fm`, `to`, `st`, `cd`, `am`, and `size_width`.

See the shortcode attributes section above for the full list.

### External service and privacy

Yes. The plugin embeds an iframe from CurrencyRate.Today.
 When a page containing
the widget is viewed, the visitor’s browser requests `https://currencyrate.today/
load-exchangerates`.

The request includes display settings such as base currency, target currencies, 
language, theme, time zone, display mode, amount, and a WordPress plugin marker.

These values come from the shortcode or widget settings.

The plugin does not send WordPress usernames, passwords, admin settings, or private
site data to the service.

Service provider: CurrencyRate.Today

 * Service website: [https://currencyrate.today/](https://currencyrate.today/)
 * Privacy policy: [https://currencyrate.today/page/privacy](https://currencyrate.today/page/privacy)
 * Disclaimer: [https://currencyrate.today/page/disclaimer](https://currencyrate.today/page/disclaimer)

### Does the plugin include a Gutenberg block?

No. The plugin currently supports shortcodes and classic widgets. In the block editor,
use a Shortcode block.

## 评价

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

### 󠀁[thanks](https://wordpress.org/support/topic/thanks-1700/)󠁿

 [uguraktas](https://profiles.wordpress.org/uguraktas/) 2019 年 12 月 17 日 1 回复

thanks

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

### 󠀁[it works as intended](https://wordpress.org/support/topic/it-works-as-intended-4/)󠁿

 [stmckeni](https://profiles.wordpress.org/stmckeni/) 2019 年 3 月 14 日 1 回复

Thanks to this plugin I can set display rate exchanges. Even bitcoin is on this 
list.

 [ 阅读所有2条评价 ](https://wordpress.org/support/plugin/exchange-rates-widget/reviews/)

## 贡献者及开发者

「Exchange Rates Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Exchange Rates Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/exchange-rates-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/exchange-rates-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/exchange-rates-widget/)，或通过[RSS](https://plugins.trac.wordpress.org/log/exchange-rates-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/exchange-rates-widget/)。

## 更新日志

#### 1.4.4

 * Added translation template (POT) and Domain Path header.

#### 1.4.3

 * Verified compatibility with WordPress 7.1.

#### 1.4.2

 * Verified WordPress 7 compatibility with Classic Widgets.
 * Improved PHP 8.x runtime safety for shortcode and classic widget handling.
 * Cleaned up plugin metadata, readme wording, installation instructions, and external-
   service disclosure.
 * Refreshed bundled currency lists with BNB, XCG, and ZWG labels.

#### 1.4.1

 * Security fixed.
 * Minor bug fixed.

#### 1.4.0

 * Language fix.
 * Minor bug fixed.

#### 1.3.8

 * Minor bug fixed.

#### 1.3.7

 * Minor bug fixed.

#### 1.3.6

 * Minor bug fixed.

#### 1.3.5

 * Minor bug fixed.
 * Language fix, add: id, hi, ja, pt.

#### 1.3.0

 * Minor bug fixed.
 * Added accessibility improvements.

#### 1.2.2

 * Important fix.
 * Minor fix.

#### 1.2.1

 * Minor bug fixed.

#### 1.1.2

 * Minor bug fixed.

#### 1.1.1

 * Fixed generated shortcode parameters with empty values.

#### 1.1.0

 * Added support for shortcodes.

#### 1.0.0

 * First release.

## 额外信息

 *  版本 **1.4.4**
 *  最后更新：**2 月前**
 *  活跃安装数量 **1,000+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 5.3 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/exchange-rates-widget/)
 * 标签
 * [currency exchange](https://cn.wordpress.org/plugins/tags/currency-exchange/)
   [dollar](https://cn.wordpress.org/plugins/tags/dollar/)[exchange rates](https://cn.wordpress.org/plugins/tags/exchange-rates/)
   [forex](https://cn.wordpress.org/plugins/tags/forex/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/exchange-rates-widget/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/exchange-rates-widget/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/exchange-rates-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/exchange-rates-widget/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/exchange-rates-widget/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/exchange-rates-widget/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/exchange-rates-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/exchange-rates-widget/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/exchange-rates-widget/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://currencyrate.today/exchangerates-widget)