How To Add Currency Conversion In WordPress

Learn how to easily add currency conversion to your WordPress website or blog using a free WordPress plugin called Currencyr …

Add Currency Conversion To Your WordPress SiteAre you thinking about setting up an e-commerce website or making goods available for sale worldwide? If so, then it’s a great idea to think about providing users with currency conversion.

Currency conversion lets your prospects have the price of an international currency amount converted into their home currency at the point of sale. It also allows visitors and customers to see the exact amount their card or PayPal account will be charged, expressed in their own home currency.

One great benefit of displaying currency conversion on your website is that it allows visitors to view and understand prices in foreign countries in their own local currency, and makes it easier for customers to work out their costs and expenses.

If your site is powered by WordPress, it’s easy and simple to add a currency conversion plugin to your website or blog, allowing your visitors to quickly calculate the cost of your products.

WP Free Currency Converter – Currencyr

Currencyr - WordPress Currency Converting Plugin

Currencyr is an intuitive, easy-to-use and complete currency converter WP plugin with a beautiful and unique converter tooltip. And, it’s free to install and use on your web site.

Useful plugin features include:

  • Inline conversion tool
  • Supports various exchange rates providers, like Yahoo!, Open Exchange Rates and FoxRates
  • Support database cache driven for fast response
  • Currency table and converter widget
  • Can be integrated with a number of e-store plugins such as WP-eCommerce & Easy Digital Downloads.
  • Automatically detects local currency
  • Support for language translations

Important: This plugin requires PHP 5.3.0 or later. Do not use this plugin if you are running an older version of PHP. Alternatively, ask your webhosting provider to check and upgrade your PHP.


You can install the Currencyr plugin from your WP dashboard by searching for “currencyr” in the Plugins screen and clicking “Install Now” …

WP Plugin - Currency Converter

After you have installed and activated the plugin, you can configure the plugin’s settings by choosing Currencyr from your WordPress administration navigation menu …

WordPress Plugin - Currency Conversion

The plugin settings area offers you many configuration settings …

WP Plugin - Currencyr

For example, you can choose your base currency from the ‘Base Currency’ dropdown menu. The default option is ‘United States Dollar – (USD)’ …

WP Plugin - Currency Converter

You can choose any supported data provider from a dropdown menu. The default provider is ‘Yahoo! Finance’, but you can also select one of the other options, like European Central Bank, FoxRate, Google Finance or Open Exchange Rates …

WP Plugin - Currency Converter

Note: If you choose Open Exchange Rates as your provider, you will need an API (Application Programming Interface) ID …

WP Plugin - Currency Converter

You can choose how often you would like the exchange rates to be updated by selecting an option from the ‘Update Rates’ drop-down menu …

WordPress Plugin - Currencyr

The plugin uses jQuery, which allows web developers to add things like animation effects to web applications (e.g. WordPress plugins).

If you have no reason to change the jQuery settings, you can just ignore this option …

WP Plugin - Currency Conversion

Edit the rest of the settings to suit your own needs and click the ‘Save Changes’ button when done …

WordPress Plugin - Currencyr

After you have finished configuring your settings, you can add currency conversion to any WP page or post using shortcodes and widgets.

See the ‘Additional Plugin Notes’ section at the end of this tutorial to learn more about using currency codes (e.g. USD, AUD, JPY, etc …) in the Currencyr plugin.

Using Plugin Shortcodes

You can insert currency conversion into WP posts, pages and widgets with no programming skills using shortcodes.

Let’s take a look at some examples of currency shortcodes that you can add to pages and posts:

Let’s say that you sell goods on your website for a set amount (e.g. $175) in US Dollars (USD), and you would also like to show the price converted into British pounds (GBP) on your page.

To display this information, just insert the shortcode below to your post or page …

WordPress Plugin - Currency Conversion

Note: You can also display amounts in dollars and cents (for example, 6.95, 189.00, 544.97, etc …)

The screenshot below shows how the shortcode should look after being added to the post or page …

WP Plugin - Currencyr

After publishing the post or page, the converted currency will display like this …

WordPress Plugin - Currencyr

Using the above example, let’s now convert the same amount into multiple currencies.

To do this, use the shortcode below (you can add as many currency symbols as you like by using vertical pipes) …

WP Plugin - Currencyr

You can see how the above shortcode appears when added to a page …

WP Plugin - Currency Converter

After publishing your post, the converted currency amounts will then display like this …

WordPress Plugin - Currencyr

See the ‘Additional Plugin Notes’ section below to learn how to change the currency separator symbol in the Currencyr plugin.

Now, suppose you want to use a different base currency than the one set as your default.

For example, say you have specified your default base currency as EUR and you have a section on your e-commerce pages targeted to non-European visitors (like Australia or Canada), you can change the base currency using the following shortcode …

WP Plugin - Currency Converter

You can see how the above shortcode looks when you add it to a page …

WP Plugin - Currencyr

After publishing your information, the currency conversion will then appear as seen in the example below …

WP Plugin - Currency Conversion

Currencyr Widget

You can also add currency conversion to your website or blog’s sidebar using a widget.

To add the currency converter to your sidebar area, select Appearance > Widgets from your WordPress user admin menu …

WP Menu: Appearance > Widgets

In the Widgets > Available Widgets section find the ‘Currencyr’ widget and drag it to the Active Widgets location …

WP Plugin - Currency Conversion

Configure the widget settings as shown below (add currency codes separated by commas), and click Save to update your settings …

WordPress Plugin - Currency Conversion

Your currency conversion tool will now show on your sidebar with the settings you have selected …

WordPress Plugin - Currencyr

Additional Plugin Notes

This section contains additional information about using the plugin.

Currency Separator

The Currencyr plugin lets you specify the symbol to display as the currency separator when using several currencies.

You can select a different symbol in the Multiple Separator settings section.

So, for example, using the default symbol “/” (forward slash) …

WordPress Plugin - Currencyr

Displays your currency values separated by a forward slash as you can see in the screenshot below …

WordPress Plugin - Currency Converter

If you change the symbol and update your plugin settings …

WordPress Plugin - Currency Conversion

Your web visitors will see the new symbol being used as the currency separator …

WordPress Plugin - Currency Conversion

Integration With e-Commerce Software

As described earlier, the plugin can be integrated with various WordPress-compatible e-commerce plugins like WP-eCommerce and Easy Digital Downloads …

WordPress Plugin - Currencyr

(image source: plugin site)

Congratulations! Now you can go and easily add currency conversion to your e-commerce web site.

To learn more about WordPress e-commerce plugins, see the tutorial below:


"If you're new to WordPress, this can stand on its own as a training course and will stay with you as you progress from beginner to advanced and even guru status." - Bruce (Columbus, Ohio)

Originally published as How To Add Currency Conversion In WordPress.