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 …

How To Add Currency Conversion To Your WP SiteAre you planning to set up an e-commerce site with WordPress, or sell your products to a worldwide market? If so, then it’s a great idea to consider providing your prospects with the convenience of currency conversion on your web site.

Currency conversion lets your prospective customers have the price of an international currency amount converted to their local currency when purchasing or checking out products online. It also allows your customers to view the exact amount their card or PayPal account will be charged, displayed in their own local currency.

The obvious advantage of adding currency conversion to your website is that it allows visitors to see and understand prices in foreign countries in their own local currency, and makes it easier for visitors to work out their costs and expenses.

If you are a WordPress user, it’s quite easy and simple to add a currency conversion plugin to WordPress, allowing your visitors to quickly and easily work out the cost of your products.

Currencyr – Currency Converter For WP Sites

Currencyr - Free Currency Conversion Plugin For WordPress

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

The Currencyr currency conversion WordPress plugin features:

  • In-line converter
  • Supports various exchange rates providers, such as Yahoo!, Google, Open Exchange Rates, European Central Bank and FoxRates
  • Support database cache driven for fast response
  • Currency table and converter widget
  • Supports integration with various e-commerce plugins like WooCommerce, WP-eCommerce and Easy Digital Downloads.
  • Automatically determines local currency
  • Translation support

Note: The Currencyr plugin requires your server to be running PHP 5.3.0 or later. Do not use this plugin if you are running an older version of PHP. Ask your web host to check and upgrade your PHP.


You can install the currency conversion plugin from your WP dashboard by typing in “currencyr” into the Plugins search field and clicking the “Install” button …

WP Plugin - Currency Conversion

Once the plugin has been installed and activated, you can get to the plugin’s settings screen by choosing Currencyr from your WordPress admin user navigation menu …

WP Plugin - Currency Conversion

The plugin settings screen provides various configuration settings …

WP Plugin - Currencyr

For example, you can choose a base currency from the ‘Base Currency’ dropdown menu if you prefer to use something other than the default option ’USD’ …

WordPress Plugin - Currencyr

Similarly, you can select any supported data provider from a dropdown menu. The default selection is ‘Yahoo! Finance’, but you can choose another option, like FoxRate or Open Exchange Rates …

WP Plugin - Currencyr

Note: If you choose ‘Open Exchange Rates’, an API (Application Programming Interface) is required …

WP Plugin - Currencyr

You can specify how often you would like to update the currency exchange rates by choosing an option from the ‘Update Rates’ dropdown menu …

WordPress Plugin - Currency Converter

The Currencyr plugin uses jQuery, which is an open-source library of Javascript code that allows web developers to add things like animation effects to web applications (like WordPress plugins).

If you have no reason to modify the jQuery settings, leave these as they are …

WP Plugin - Currency Conversion

Edit the remainder of the plugin settings to suit your needs and click the Save Changes button when done …

WordPress Plugin - Currency Converter

Once you have configured your plugin settings, you can start adding currency conversion to any WP page or post using widgets.

See the ‘Additional Plugin Notes’ section at the bottom of this tutorial to learn how to use currency codes (e.g. USD, GBP, ZAR, etc …) with this plugin.

Using Currencyr Shortcodes

You can easily insert currency conversion into posts, pages and widgets without having to edit your web templates using shortcodes.

Below are some examples of currency shortcodes that you can add to pages and posts:

Let’s say that you sell an item online for a fixed amount (e.g. $175) in US Dollars (USD), and you want to display your conversion amount in British pounds (GBP) on your sales page.

All you need to do is insert the following shortcode into your post or page …

WordPress Plugin - Currencyr

Note: You can also insert prices in dollars and cents (for example, 6.95, 47.00, 1356.87, etc …)

The screenshot below shows how your shortcode looks when added to your page …

WordPress Plugin - Currency Conversion

Once your post or page has been published, your currency conversion will display like this …

WordPress Plugin - Currency Converter

Using the same example, let’s also convert the same price into multiple currency formats.

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

WordPress Plugin - Currency Converter

The screenshot below shows how the shortcode looks when you add it to your content …

WP Plugin - Currency Converter

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

WP Plugin - Currencyr

refer to the ‘Additional Plugin Notes’ section at the end of this tutorial to learn more about changing the currency separator symbol within the Currencyr plugin.

Now, let’s suppose that you would like to specify a different base currency than the one selected as your default.

For example, if you have set your default base currency as EUR and you have a section on your website targeted to non-European visitors (for example, Australia or Canada), you can change the base currency using the following shortcode …

WP Plugin - Currencyr

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

WP Plugin - Currencyr

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

WP Plugin - Currency Conversion

Using The Widget

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

To add the currency converter to your sidebar, choose Appearance > Widgets in the WP user admin menu …

WP Menu: Appearance > Widgets

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

WordPress Plugin - Currency Conversion

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

WordPress Plugin - Currencyr

Your currency conversion tool will now show on your website’s sidebar with the options you have selected …

WordPress Plugin - Currency Converter

Additional Plugin Notes

This section contains additional information about using the Currencyr plugin.

Currency Separator

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

You can change the symbol in the Multiple Separator settings field.

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

WordPress Plugin - Currencyr

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

WordPress Plugin - Currency Conversion

If you modify this symbol and update your settings …

WordPress Plugin - Currency Converter

Your website visitors will see the new symbol display as the currency separator …

WordPress Plugin - Currencyr

E-Commerce Software Integration

As described earlier, the Currencyr plugin integrates with a number of WP-compatible e-commerce plugins such as WooCommerce, WP-eCommerce, Shopp, and Easy Digital Downloads …

WP Plugin - Currencyr

(above image sourced from plugin website)

Congratulations! Now you know how to easily add a currency converter to your WordPress web site.

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


"This is AMAZING! I had learnt about how to use WordPress previously, but this covers absolutely everything and more!! Incredible value! Thank you!" - Monique, Warrior Forum

Originally published as How To Add Currency Conversion In WordPress.