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.

Adding Currency Conversion To Your WebsiteAre you thinking about setting up an e-commerce website or selling goods online? If so, then you should think about providing your prospects with a currency conversion service.

Currency conversion software lets your prospective customers have the cost of a foreign currency amount converted to their home currency at the buying or checkout stage. It also lets visitors view the exact amount their card or PayPal account will be charged, expressed in their own local currency.

One great benefit of adding currency conversion is that it allows customers to view and understand prices in foreign countries in their own home currency, making it it easier for customers to calculate their costs and expenses.

If your site is powered by WordPress, it’s quite simple to add a currency converter to currency conversion to WordPress using a plugin, allowing your visitors to quickly and easily calculate the cost of your goods.

Currencyr – Currency Converting Plugin For WordPress

Currencyr - WordPress Free Currency Converter

Currencyr is an intuitive, easy-to-use and complete currency converter WP plugin with a beautiful and unique converter tooltip. It’s also free!

Some of the many useful features of this plugin include the following:

  • Inline converter
  • Supports various exchange rates providers, like Yahoo! and FoxRates
  • Supports Shortcodes
  • Widgetized currency table and converter
  • Can be integrated with various e-store plugins such as WooCommerce, Shop and Easy Digital Downloads.
  • Can detect local currency automatically
  • Full translation support

Important: This plugin needs PHP 5.3.0 or later. Do not use this plugin if you are running an older version of PHP. Alternatively, ask your web hosting support team to check and upgrade your PHP.

***

You can install the plugin from your WordPress admin area by searching for “currencyr” in the Plugins area and clicking “Install Now” …

WordPress Plugin - Currency Conversion

After installing and activating the plugin, you can configure the plugin’s settings by choosing Currencyr from your admin navigation menu …

WP Plugin - Currencyr

This takes you to the plugin settings section …

WP Plugin - Currencyr

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

WP Plugin - Currencyr

You can select which data provider you want to use from the drop-down menu in the Provider section. The default option is ‘Yahoo! Finance’, but you can also choose another option, such as European Central Bank, FoxRate, Google Finance or Open Exchange Rates …

WP Plugin - Currencyr

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

WP Plugin - Currencyr

You can specify how often you want the currency exchange rates to update by specifying an option from the ‘Update Rates’ drop-down menu …

WordPress Plugin - Currency Conversion

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

Unless you have a reason to edit the jQuery settings, you can simply ignore this section …

WP Plugin - Currencyr

Edit the remainder of the settings and click ‘Save Changes’ when done …

WP Plugin - Currency Conversion

When your plugin settings have been configured, you can easily start adding currency conversion to any of your WP pages using a shortcode.

Refer to 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.

Shortcodes

You can add currency conversion to pages, posts and widgets with no programming skills or knowledge using shortcodes.

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

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

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

WordPress Plugin - Currency Converter

Note: You can also display pricing in dollars and cents (e.g. 16.95, 97.00, 1356.87, etc …)

The screenshot below shows how the shortcode should look after being added to a product page …

WP Plugin - Currency Conversion

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

WordPress Plugin - Currencyr

Using the above example, let’s also translate the same price into different currency formats.

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

WP Plugin - Currencyr

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

WordPress Plugin - Currency Conversion

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

WP Plugin - Currency Converter

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

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

For example, if you have set your default base currency as EUR and you have a section on your e-commerce pages targeted to non-European customers (e.g. Australia or Canada), you can change the base currency using the following shortcode …

WP Plugin - Currencyr

Here’s how the above shortcode appears when you add it to your content …

WP Plugin - Currencyr

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

WP Plugin - Currencyr

Currencyr Widget

You can also insert currency conversion into your website’s sidebar section using the plugin’s widget.

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

WordPress Menu: Appearance > Widgets

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

WP Plugin - Currency Conversion

Configure the widget settings as shown below (add any currency codes you want displaying on your widget separated by a comma), and click Save to update your settings …

WP Plugin - Currencyr

The currency conversion tool will now display on your sidebar with the settings you have specified …

WordPress Plugin - Currencyr

Additional Plugin Notes

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

Currency Separator

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

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

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

WP Plugin - Currency Converter

Displays your currency values separated by the 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 site visitors will see the new symbol used as the currency separator …

WP Plugin - Currency Conversion

E-Commerce Integration

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

WordPress Plugin - Currency Converter

(image source: plugin website)

And there you have it! Now you know how to easily add a currency converter to your WordPress site.

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

***

"This is an awesome training series. I have a pretty good understanding of WordPress already, but this is helping me to move somewhere from intermediate to advanced user!" - Kim Lednum

***

Recommended Video Courses For WordPress Users

Build An e-Commerce Store With WordPressBuild An e-Commerce Store With WordPress

Learn how to set up an e-commerce store on your WordPress site using e-commerce platforms like WooCommerce and Easy Digital Downloads.

More info: Build An e-Commerce Store With WordPress

Recommended Video Courses For WordPress Users

How To Set Up A Forum On WordPressHow To Set Up A Forum On WordPress

Learn how to set up a forum for your visitors, prospects, customers, members, or affiliates using WordPress.

More info: How To Set Up A Forum On WordPress

Recommended Video Courses For WordPress Users

Using S2 MemberUsing S2 Member

Learn how to set up and configure a WordPress membership site using the S2 Member free WordPress membership plugin.

More info: Using S2 Member

Recommended Video Courses For WordPress Users

How To Optimize WordPressHow To Optimize WordPress

Learn how to optimize your WordPress site and improve your page loading speed.

More info: How To Optimize WordPress

Recommended Video Courses For WordPress Users

How To Back Up & Restore WordPress SitesHow To Back Up & Restore WordPress Sites

Learn how to safely and automatically backup your WordPress files and database and how to easily restore your WordPress site if something were to happen.

More info: How To Back Up & Restore WordPress Sites

Author: Martin Aranovitch

Martin Aranovitch is the founder of WPCompendium.org and the author of The Small Business Digital Manager. WPCompendium.org provides hundreds of FREE tutorials that show you how to use WordPress to grow your business online with no coding skills required! Get our FREE "101+ WordPress Tips, Tricks & Hacks For Non-Techies" e-course with loads of useful WordPress tips!

Originally published as How To Add Currency Conversion In WordPress.