| 开发者 | falselight |
|---|---|
| 更新时间 | 2026年5月20日 05:11 |
| 捐献地址: | 去捐款 |
| PHP版本: | 5.3 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
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
Pricing converter example:
[ccc_currency_converter_calculator lg="en" tz="0" fm="EUR" to="USD" st="info" bg="FFFFFF" lr="1" rd="0" size_width="100%"][/ccc_currency_converter_calculator]
Travel converter example:
[ccc_currency_converter_calculator lg="en" tz="0" fm="USD" to="EUR" st="success" bg="FFFFFF" lr="0" rd="0" size_width="100%"][/ccc_currency_converter_calculator]
🔧 Shortcode attributes
lg - language. Supported values: en, ru, it, fr, es, de, cn, pt, ja, id, hi.tz - time zone offset.fm - source currency code, for example EUR.to - target currency code, for example USD.st - theme. Supported values: primary, info, danger, warning, gray, success.bg - widget background color when rounded corners are enabled, for example FFFFFF.lr - large widget mode. Use 1 to enable it or 0 to disable it.rd - straight corners. Use 1 for straight corners or 0 for rounded corners.size_width - widget width, for example 100%.currency-converter-calculator folder to /wp-content/plugins/.Use a shortcode or paste it into a Shortcode block:
[ccc_currency_converter_calculator lg="en" tz="0" fm="EUR" to="USD" st="info" bg="FFFFFF" lr="1" rd="0" size_width="100%"][/ccc_currency_converter_calculator]
Yes. Add "Currency Converter Calculator" under Appearance > Widgets. If your WordPress site uses the block-based widget screen, install and activate Classic Widgets first.
No. The converter is embedded directly on your page, post, sidebar, or footer.
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.
Yes. You can choose the source currency, target currency, language, time zone, color theme, background, size mode, corner style, and width.
The main attributes are lg, tz, fm, to, st, bg, lr, rd, and size_width.
See the shortcode attributes section above for the full list.
Yes. The plugin embeds an iframe from CurrencyRate.Today.
When a page containing the converter is viewed, the visitor's browser requests https://currencyrate.today/load-converter.
The request includes display settings such as source currency, target currency, language, theme, time zone, background color, and widget size.
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
No. The plugin currently supports shortcodes and classic widgets. In the block editor, use a Shortcode block.