[wordpress插件] Currencyr货币兑换商

wordpress 插件 文章 2020-04-06 22:00 862 0 全屏看文

AI助手支持GPT4.0

评分
82
描述

Instead of traditional “calculator” looks converter, Currencyr take the advance of “tooltip” and sit right at the amount to allow user convert it.

Currencyr代替了传统的“计算器”外观转换器,而是采用了“工具提示”的高级功能,并以允许用户对其进行转换的量正确放置。

Support various exchange rates provider API running as WP Cron task and able to auto-determinate local currency of visitor.

支持作为WP Cron任务运行的各种汇率提供商API,并能够自动确定访问者的本地货币。

Currencyr also offers currency converter widget, shortcode and function.

Currencyr还提供货币转换器小部件,简码和功能。

See it in action at http://demo.firmanw.com/wp/currencyr.

在http://demo.firmanw.com/wp/currencyr上查看实际操作。

Note: This plugin requires PHP 5.3.0 or later, do not ever try to install if you running the older version.

注意:此插件需要PHP 5.3.0或更高版本,如果您运行的是旧版本,请勿尝试安装。

Features

功能

    • Inline converter using Currencyr for jQuery
    • 使用 Currencyr for jQuery的内联转换器

    • Various exchange rates providers – Yahoo!, Google, Open Exchange Rates, European Central Bank and FoxRates
    • 各种汇率提供商-Yahoo!,Google,Open Exchange Rates,欧洲中央银行和FoxRates

    • Support database cache driven for fast response
    • 支持数据库缓存驱动的快速响应

    • WP Cron task scheduler enabled
    • 已启用WP Cron任务计划程序

    • Shortcode quick conversion support
    • Shortcode快速转换支持

    • Currency table and converter widget
    • 汇率表和转换器小部件

    • Function for theme developer
    • 主题开发人员功能

    • Auto-determinate local currency via IP detection using IP2C
    • 使用 IP2C 通过IP检测自动确定本地货币

    • Support integration with various ecommerce plugins – WooCommerce, WP-eCommerce, Shopp and Easy Digital Downloads
    • 支持与各种电子商务插件(WooCommerce,WP-eCommerce,Shopp和Easy Digital Downloads)集成

    • Translation support
    • 翻译支持

    Shortcode

    简码

    To enable the shortcode simply use [currencyr] and use the following syntax:

    要启用简码,只需使用[currencyr]并使用以下语法:

    [currencyr amount=$amount  to=$code<|$code>]

      [货币数量= $金额到= $ code <| $ code>]

      • amount – The number that you wish to convert.
      • 金额 –您希望转换的数字。

      • to – The currency code.

      • –货币代码。

        Use “|”

        使用“ |”

        as separator for multiple conversion.

      • 作为多重转换的分隔符。

      • from (optional) – The currency code.

      • 来源(可选)–货币代码。

        If omitted the Base Currency from setting will be use.

      • 如果省略,将使用“设置的基础货币”。

      Examples:
          

      示例:
          

      [currencyr amount=99.99 to=gbp]

      [货币汇率= 99.99 to = gbp]

      [currencyr amount=99.99 from=aud to=gbp]

        [货币数量= 99.99从= aud到= gbp]

      [currencyr amount=99.99 to=gbp|eur|cad]

      [货币汇率= 99.99 to = gbp | eur | cad]

      Function Call

      函数调用

      The conversion feature is available to call within templates or codes using either currencyr_exchange() or the_currencyr_exchange().

      可以使用currencyr_exchange()或the_currencyr_exchange()在模板或代码中调用转换功能。

      Both functions share the same arguments, the diferrent is the_currencyr_exchange() is only echoes the result automatically.

      这两个函数共享相同的参数,不同之处在于the_currencyr_exchange()仅自动回显结果。

      You can call the functions as WordPress style or PHP with the following arguments:

      您可以使用以下参数将函数调用为WordPress样式或PHP:

        • amount – The number that you wish to convert.
        • 金额 –您希望转换的数字。

        • to – The currency code.
        • –货币代码。

        • from (optional) – The currency code.

          来源(可选)–货币代码。

          If omitted the Base Currency from setting will be use.

          如果省略,将使用“设置的基础货币”。

        The code above is similar to:

        上面的代码类似于:

         99.99, 'to' => 'cad' ) );

          <?php echo currencyr_exchange(array('amount'=> 99.99,'to'=>'cad')); 

        ?>

        ?>

        Also similar to:

        也类似于:

          <?php echo currencyr_exchange(99.99,'cad'); 

        ?>

        ?>

        Roadmap

        路线图

安装步骤

    1. Install Currencyr either via the WordPress.org plugin directory, or by uploading the files to your server
    2. 通过WordPress.org插件目录或通过将文件上传到服务器来安装Currencyr。

    3. Activate the Currencyr through the Plugins menu in WordPress
    4. 通过WordPress中的“插件”菜单激活Currencyr

    5. Go to Currencyr menu to get started
    6. 转到Currencyr菜单开始使用

    7. You need to update rates to populate cache immediately, or let WP Cron do it
    8. 您需要更新费率以立即填充缓存,或者让WP Cron这么做

下载地址
https://downloads.wordpress.org/plugin/currencyr.zip
-EOF-

AI助手支持GPT4.0