跳到内容

JS Currency Converter

v1.2

jasperdragonet · 2017年5月15日 上架

This plugin converts a currency using front-end JavaScript. The front-end part of this plugin is Javascript based to convert existing values in the w …

正在使用
10 以下
评分
5.0 / 5
累计下载
1,558
最近更新
2019年10月29日
1 条评价已测试到 5.2.31

贡献者

This plugin converts a currency using front-end JavaScript.

The front-end part of this plugin is Javascript based to convert existing values in the website. A dropdown menu is generated during the parsing of your template using a filter action.

All elements defined in the admin part will be updates. For example:
When defined that all elements with the ‘price’ class must be updated, you should add a span of div with the class ‘price’ around the class.

In the admin part an exchange rate API can be linked to pre-fill your current currencies.
A free exchange rate API is for example: http://apilayer.net

If you wish to define the origin of the currency you need to subscribe to: https://currencylayer.com. Whiteout this subscription the plugin uses USD as a origin currency, so this is optional.

Installation

  1. Download the plugin.
  2. Activate the plugin.
  3. Setup the plugin in the admin part under the settings menu.
    4.1. Add this code somewhere in your template files e.a. header.php to display the currency-select drowdown menu:
    <?php apply_filters( 'add_currency_converter_dropdown' ); ?>
    4-1. You can also use a WordPress shortcode:
    [currency_converter]

Changelog

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums