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 Web SiteAre you thinking about setting up an e-commerce website or selling goods online? If so, then you should consider providing your potential customers with currency conversion.

Currency converting software allows your customers to have the price of an international currency amount converted to their home currency when checking out products online. It also lets customers see the exact amount their credit card or PayPal account will be charged, displayed in their own home currency.

One advantage of showing currency conversion on your site is that it allows your customers to view and understand pricing in foreign countries in their own home currency, and makes it easier for visitors to calculate their costs and expenses.

If your site is built with WordPress, you can add currency conversion via a plugin to your WP site, allowing your visitors to quickly and easily work out the cost of your products.

WP Free Currency Converting Plugin – Currencyr

WP Free Currency Conversion Plugin - Currencyr

Currencyr is a simple, easy-to-use and complete currency converter plugin with a visually attractive converter tooltip. It’s also free!

This plugin features:

  • In-line converter
  • Supports a number of exchange rates providers, like Google, Open Exchange Rates & FoxRates
  • WP-Cron task scheduler enabled
  • Currency table and converter widget
  • Supports integration with a number of online shopping plugins like WooCommerce, WP-eCommerce, Shopp, and Easy Digital Downloads.
  • Can detect local currency automatically
  • 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 are running an older version of PHP. Ask your webhosting provider to upgrade your PHP server installation.

***

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

WordPress Plugin - Currency Converter

After installing and activating the plugin, you can visit the plugin’s settings screen by choosing Currencyr from your WordPress dashboard navigation menu …

WP Plugin - Currencyr

This takes you to the plugin settings screen …

WP Plugin - Currency Conversion

For example, you can select your base currency from the Base Currency dropdown menu if you want a different currency than the default option ’US Dollar’ …

WP Plugin - Currency Conversion

You can also select a data provider from a drop-down menu. The default provider is Yahoo Finance, but you can also select one of the other options, like FoxRate or Open Exchange Rates …

WordPress Plugin - Currency Converter

Note: If you select ‘Open Exchange Rates’ as your provider, an API (Application Programming Interface) will be required …

WP Plugin - Currencyr

You can choose how often you want the exchange rates to be updated by choosing an option from the Update Rates drop-down menu …

WP Plugin - Currencyr

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

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

WordPress Plugin - Currency Conversion

Edit the rest of the plugin settings and don’t forget to click ‘Save Changes’ when done …

WP Plugin - Currencyr

After your plugin settings have been configured, you can add currency conversion to any WordPress post or page using shortcodes.

Refer to the ‘Additional Plugin Notes’ section further below to learn how to use currency codes (e.g. USD, AUD, CAD, etc …) in the Currencyr plugin.

Shortcodes

You can easily add currency conversion to WordPress pages, posts and widgets with no web coding skills or knowledge using shortcodes.

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

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

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

WordPress Plugin - Currency Conversion

Note: You can also insert pricing in dollars and cents (for example, 188.35, 29.95, 2499.99, etc …)

The screenshot below shows how the above shortcode should look after being inserted into the page …

WP Plugin - Currency Converter

After publishing your post or page, your converted currency amount will then appear as seen in the screenshot below …

WP Plugin - Currencyr

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

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

WordPress Plugin - Currency Converter

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

WordPress Plugin - Currency Conversion

After publishing your post, your currency conversion will then appear like this …

WP Plugin - Currency Conversion

refer to the ‘Additional Plugin Notes’ section further below to learn more about changing the currency separator symbol with the Currencyr plugin.

Now, let’s say that you would like to select a different base currency than the one you have set 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 visitors (for example, Australia or Canada), you can change the base currency using the following shortcode …

WordPress Plugin - Currency Converter

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

WP Plugin - Currency Converter

Once the post or page has been published, your converted currency amounts will then appear as you can see below …

WP Plugin - Currency Conversion

Currencyr Widget

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

To add currency conversion to your sidebar area, select Appearance > Widgets in your WordPress 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 …

WP Plugin - Currency Converter

Configure the widget options as shown in the screenshot below (add any currency codes you would like displaying on your widget separated by a comma), and click ‘Save’ to update your settings …

WP Plugin - Currencyr

The currency converter tool will now display on your website’s sidebar menu with the settings you have selected …

WP Plugin - Currency Converter

Additional Plugin Notes

This section contains additional information about using the plugin.

Currency Separator

The Currencyr plugin lets you specify a symbol of your choice to display as the currency separator when using multiple currencies.

You can select a different symbol in the ‘Multiple Separator’ settings field.

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

WordPress Plugin - Currencyr

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

WordPress Plugin - Currency Converter

If you modify the symbol and resave your settings …

WordPress Plugin - Currency Conversion

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

WP Plugin - Currency Converter

E-Commerce Software Integration

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

WordPress Plugin - Currency Conversion

(image source: plugin website)

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:

***

"Wow! I never knew there's so much to learn about WordPress! I bought one of the WordPress for Dummies three years ago, such authors need to be on this course!" - Rich Law, Create A Blog Now

Originally published as How To Add Currency Conversion In WordPress.