Found Image http://plugins.svn.wordpress.org/euro-fxref-currency-converter/assets/icon-128x128.png Euro FxRef Currency Converter | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
100%
5 Stars (5 votes)

Home

WP.Org

ReadMe

Support
  • Author:
    joostdekeijzer
Version: 1.5
Requires: WP 3.3
Last Updated:2449 days ago
Downloads:7334
Installations: 400+
Usage Retention:5.45%
Tags:
    converter, currency, currency converter, ECB, foreign exchange conversion, fx rate converter, shortcode
Download Plugin Package

Euro FxRef Currency Converter

Released on October 1, 2012.
Download Plugin Package

Version: 1.5

Requires PHP: 7.0 Adds the [currency] and [currency_legal] shortcodes to convert currencies based on the ECB reference exchange rates.

  • Description
  • FAQ
  • Changelog
  • Installation


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.

Development takes place at https://github.com/joostdekeijzer/wp_eurofxref

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.4

  • Modified attribute escaping from esc_html to wp_filter_post_kses so simple html is allowed

2.0.3

  • Made all texts translatable
  • Escape (logged in) user shortcode attributes (CVE-2025-6257 kindly reported by Gilang via Wordfence)
  • Plugin icon!

2.0.2

  • The plugin now tries to retrieve the new ECB rates around 17h00 CET. ECB updates their rates around 16h00 CET so updating an hour later should retreive the newest rates.

2.0.1

  • Bugfix when [currency_legal] is called without attributes.

2.0

  • Added no_from_show_rate shortcode attribute for the [convert] shortcode.
  • Added an option to hook into the default shortcode_atts_{$shortcode} filter for both shortcodes. Those filters become 'shortcode_atts_currency' and 'shortcode_atts_currency_legal'. Please see shortcode_atts_{$shortcode} reference for more information.
  • Updated list of available currencies based on changes by the ECB (RUB and HRK where removed).
  • Refactor of currency symbols and number formats based on how WooCommerce does it.
  • Added filters to modify the currency symbols and the number formats: eurofxref_currency_symbols and eurofxref_number_formats.
  • The currency symbols are also run through the woocommerce_currency_symbols filter so if you have WooCommerce you don't need to use the eurofxref_currency_symbols filter.
  • Added styling options through classes for 'eurofxref-prepend-string', 'eurofxref-append-string' and 'eurofxref-conversion-rate'.

1.5

  • ECB changed the currencies it publishes: ISK is published again but LTL and LVL were removed.

1.4.2

  • Updated ECB url
  • Updated all links to https
  • Compatible with WordPress 5.3.2

1.4.1

  • Updated PayPal donation link
  • Compatible with WordPress 5.2.3

1.4

  • ECB seems to block requests from user-agent WordPress/, changed the user-agent string

1.3

  • Rewrite, so now you can call the convertor staticly from PHP
  • Compatible with WordPress 3.9

1.2.1

  • Compatible with WordPress 3.8

1.2

  • bugfix where [currency_legal] default prepend "* " would not be added
  • updated plugin uri to new WordPress.org uri scheme
  • all currency symbols should be correct now (some in unicode)

1.1

  • added help text to edit pages

1.0

  • first public version


Installation is easiest through the WordPress "New Plugin" button and search for "Euro FxRef Currency Converter".

But you can also manually:

  • Download the plugin
  • Uncompress it with your preferred unzip application
  • Copy the entire directory in your plugin directory of your WordPress blog (/wp-content/plugins)
  • Activate the plugin


 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string M6beso to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.