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 WebsiteAre you planning to set up an e-commerce site, or sell your products online? If so, then it’s a good idea to consider providing your potential customers with a currency conversion feature.

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

One benefit of putting currency conversion is that it lets customers view and understand pricing in foreign countries in their own home currency, and makes it easier for purchasers to calculate their costs and expenses.

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

WordPress Free Currency Converter – Currencyr

WordPress Free Currency Converting Plugin - Currencyr

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

The Currencyr useful plugin includes a number of features like the following:

  • In-line conversion tool
  • Supports various exchange rates providers, like Google and Open Exchange Rates
  • Support database cache driven for fast response
  • Currency table and converter widget
  • Can be integrated with a number of e-store plugins like WooCommerce, Shop & Easy Digital Downloads.
  • Can detect local currency automatically
  • Full translation support

Note: The Currencyr plugin needs 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 on your server. Ask your web hosting company to update your PHP.

***

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

WordPress Plugin - Currency Converter

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

WP Plugin - Currencyr

The plugin settings area offers you various configuration options …

WP Plugin - Currency Converter

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

WordPress Plugin - Currency Conversion

Similarly, you can select which data provider you want to use from a drop-down menu. The default provider is ‘Yahoo! Finance’, but you can also choose one of the other options, such as European Central Bank, FoxRate, Google Finance or Open Exchange Rates …

WordPress Plugin - Currencyr

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

WP Plugin - Currencyr

You can specify how frequently you would like the exchange rates to be updated by choosing an option from the Update Rates drop-down menu …

WordPress Plugin - Currency Converter

The 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 WP plugins).

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

WP Plugin - Currency Converter

Edit the remainder of the settings to suit your needs and remember to click Save Changes when finished …

WordPress Plugin - Currency Conversion

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

Refer to the ‘Additional Plugin Notes’ section at the bottom of this tutorial to learn more about using currency codes (e.g. USD, NZD, ZAR, etc …) with this plugin.

Currencyr Shortcodes

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

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

Let’s say that you retail an item for a set price (e.g. $175) in US Dollars (USD), and you would also like to display this amount converted into British pounds (GBP) on your sales page.

To do this, you will need to insert the shortcode below into your page content …

WP Plugin - Currency Converter

Note: You can also insert prices in dollars and cents (e.g. 6.95, 29.95, 544.97, etc …)

The screenshot below shows how the shortcode looks after being added to your product page …

WP Plugin - Currencyr

After publishing your post, the converted currency will then appear as you can see in the example below …

WordPress Plugin - Currency Converter

Using this example, let’s also translate the same price into different currencies.

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

WordPress Plugin - Currency Converter

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

WordPress Plugin - Currencyr

After publishing your information, the currency conversion will then display like this …

WP Plugin - Currency Converter

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

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

For example, say you have set your default base currency as EUR and you have a section on your site targeted to visitors from countries like Australia or Canada, you can change the base currency using the following shortcode …

WordPress Plugin - Currency Conversion

The example below now shows how the above shortcode appears when inserted into your content …

WP Plugin - Currency Converter

After publishing the information, your currency conversion will then display like this …

WordPress Plugin - Currency Converter

Widget

You can also insert a currency converter into your site’s sidebar area using the Currencyr widget.

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

WordPress Menu: Appearance > Widgets

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

WP Plugin - Currency Converter

Configure the widget settings as shown in the screenshot below (add the currency codes you want to display on your widget separated by commas), and click Save to save your settings …

WordPress Plugin - Currency Converter

The currency converter will now appear on your site’s sidebar menu with the settings you have selected …

WP Plugin - Currency Converter

Additional Plugin Notes

Here are some additional notes and useful information about using the 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 - Currency Converter

Separates all your currency amounts with the forward slash as shown below …

WP Plugin - Currency Conversion

If you enter another symbol and resave your plugin settings …

WordPress Plugin - Currency Converter

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

WP Plugin - Currency Conversion

WP E-Commerce

As stated earlier, the Currencyr plugin integrates with a number of WP-compatible e-commerce plugins like WooCommerce and Easy Digital Downloads …

WP Plugin - Currency Conversion

(image source: Currencyr plugin site)

And there you have it! 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:

***

"I love the way your email series "Infinite Web Content Creation Training Series" is documented and presented. It is very absorbing and captivating. The links and tutorials are interesting and educational. This has motivated me to rewrite my content following the concepts I am learning from the email series." - Mani Raju, www.fortuneinewaste.com

Originally published as How To Add Currency Conversion In WordPress.