Linux 软件免费装

Euro FxRef Currency Converter

开发者 joostdekeijzer
更新时间 2024年3月29日 22:02
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.5
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode converter currency currency converter foreign exchange conversion fx rate converter ECB

下载

1.1 1.2.1 1.4 1.5 1.3 1.4.1 1.4.2 1.5.2 2.0 1.2 2.0.1 2.0.2 1.0

详情介绍:

Using the [currency] shortcode you can convert one currency to another. The conversion is based on the rates published by the ECB. You can change from and to any of the supported currencies. The [currency_legal] shortcode outputs a disclaimer text and a link to the ECB eurofxref page. Important! ECB advices against using their rates for transaction purposes. From their site: "The reference rates are published for information purposes only. Using the rates for transaction purposes is strongly discouraged." The reference rates are usually updated by ECB at around 16:00 CET every working day, except on TARGET closing days. Go to the ECB site for more information and disclaimers. Also note that conversion from non-Euro to non-Euro is done through the Euro, so GBP to USD is calculated as GBP → EUR → USD (converted 2 times). This plugin is based on a plugin by Xclamation. Also see wp_eurofxref on GitHub where development takes place.

安装:

Installation is easiest through the WordPress "New Plugin" button and search for "Euro FxRef Currency Converter". But you can also manually:

常见问题:

Where do the exchange rates come from?

The European Central Bank (ECB) daily publishes "foreign exchange reference rates" against more than 30 other currencies. These rates are used by this plugin. The rates are published for informational purposes only and exchange rates may vary. See the ECB site for more information.

What styling options do I have?

When not showing the 'from' value the converted amount is wrapped with a <span> with css styling that is configurable using the 'to_style' attribute. Since v2.0 of the plugin additionaly the following classes are available to style using CSS:

  • 'eurofxref-conversion-rate' to overrule the 'to_style' attribute value of the [currency] shortcode.
  • 'eurofxref-append-string' on a <span> wrapping the ' *' text of the [currency] shortcode.
  • 'eurofxref-prepend-string' on a <span> wrapping the '* ' text of the [currency_legal] shortcode.

What filters are available?

Since v2.0 the following filters are available:

  • 'shortcode_atts_currency' to modify the [currency] shortcode attributes.
  • 'shortcode_atts_currency_legal' to modify the [currency_legal] shortcode attributes.
  • 'eurofxref_currency_symbols' to modify the currency symbols used in your site. The symbols are also run through the 'woocommerce_currency_symbols' filter so you don't need to use both.
  • 'eurofxref_number_formats' to modify the currency number formatting used in your site.

更新日志:

2.0.2 2.0.1 2.0 1.5 1.4.2 1.4.1 1.4 1.3 1.2.1 1.2 1.1 1.0