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 WordPressAre you planning to set up an e-commerce web site using WordPress, or sell goods globally? If so, then it’s a good idea to consider providing your prospects with the convenience of currency conversion on your e-commerce web site.

Currency converting software lets your prospective customers have the price of a foreign currency amount converted into their home currency at the point of sale. It also lets your visitors view the exact amount their card or PayPal account will be charged, displayed in their own home currency.

One great advantage of adding currency conversion is that it lets customers see and understand prices in foreign countries in their own local currency, making it it easier for visitors to calculate their costs and expenses.

If you are a WordPress user, it’s quite simple to add currency conversion using a plugin to WordPress, allowing your prospective customers to easily work out the cost of your goods.

Currencyr

WP Currency Conversion Plugin - Currencyr

Currencyr is an intuitive, easy-to-use and complete currency converter WordPress plugin with a unique and attractive converter tooltip. It’s also free to install and use on your website.

This useful WordPress plugin features:

  • Inline conversion tool
  • Supports several exchange rates providers, such as Yahoo!, Google, Open Exchange Rates, European Central Bank and FoxRates
  • Supports Shortcodes
  • Widgetized currency table and converter
  • Can be integrated with a number of online shopping plugins such as WooCommerce, WP-eCommerce and Easy Digital Downloads.
  • Automatically detects local currency
  • Full support for language translations

Important: This plugin requires your server to be running PHP 5.3.0 or later. Do not install this plugin if you currently have an older version of PHP installed. Alternatively, ask your web hosting support team to upgrade your PHP.

***

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

WordPress Plugin - Currencyr

After installing and activating the plugin, you can visit the plugin’s settings by choosing Currencyr from your admin area …

WP Plugin - Currency Converter

The plugin settings section provides various configuration settings …

WordPress Plugin - Currency Converter

For example, you can select your base currency from the Base Currency drop-down menu. The default base currency is ‘USD’

WP Plugin - Currency Conversion

Similarly, you can specify a data provider from the drop-down menu in the ‘Provider’ section. The default option is Yahoo Finance, but you can also select another option, such as European Central Bank, FoxRate, Google Finance or Open Exchange Rates …

WordPress Plugin - Currency Converter

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

WordPress Plugin - Currency Converter

You can select how frequently you want the exchange rates to be updated by specifying an option from the ‘Update Rates’ dropdown menu …

WP Plugin - Currencyr

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

If you have no reason to edit the jQuery settings, you can just ignore this section …

WordPress Plugin - Currency Conversion

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

WP Plugin - Currency Converter

When your plugin settings have been configured, you can add currency conversion to any WP page or post using widgets.

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

Using Shortcodes

You can add currency conversion to WordPress posts, pages and widgets without touching your web templates using shortcodes.

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

Let’s say that you sell a product for a set amount (e.g. $175) in US Dollars (USD), and you want to show your amount converted into British pounds (GBP) on your page.

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

WP Plugin - Currency Converter

Note: You can also display amounts in dollars and cents (e.g. 6.95, 22.00, 544.97, etc …)

The screenshot below shows how the shortcode looks once you have inserted it into a post …

WordPress Plugin - Currency Conversion

When the post or page has been published, your currency conversion will then display like this …

WordPress Plugin - Currency Conversion

Using this example, let’s also convert the same amount into different currencies.

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

WP Plugin - Currency Conversion

The screenshot below shows how the above shortcode appears when you add it to a post …

WordPress Plugin - Currency Conversion

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

WordPress Plugin - Currency Converter

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

Now, suppose you would like to select a different base currency than the one selected as your default.

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

WordPress Plugin - Currencyr

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

WordPress Plugin - Currencyr

After publishing your page, your converted currency will then display like this …

WordPress Plugin - Currency Converter

Plugin Widget

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

To add currency conversion to your sidebar area, choose Appearance > Widgets from your WP admin menu …

WordPress Menu: Appearance > Widgets

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

WP Plugin - Currencyr

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

WordPress Plugin - Currency Conversion

The currency converter will now show on the sidebar with the options you have specified when configuring the widget …

WordPress Plugin - Currencyr

Additional Plugin Notes

Here are some additional notes and useful information about using the plugin.

Currency Separator

The Currencyr plugin allows you to specify a symbol of your choice 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

Separates all your currency amounts using the forward slash as you can see in the example below …

WP Plugin - Currency Converter

If you specify another symbol and update your plugin settings …

WP Plugin - Currency Conversion

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

WP Plugin - Currency Converter

Using The Currencyr Plugin With WP-Compatible e-Commerce Platforms

As mentioned earlier, the Currencyr plugin integrates with various WP-compatible e-commerce plugins like WooCommerce, WP-eCommerce and Shopp …

WordPress Plugin - Currencyr

(image sourced from plugin site)

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

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

***

"Your training is the best in the world! It is simple, yet detailed, direct, understandable, memorable, and complete." Andrea Adams, FinancialJourney.org

Originally published as How To Add Currency Conversion In WordPress.