[wordpress插件] Coinwidget ShortcodeCoinwidget简码

wordpress 插件 文章 2020-03-27 09:00 440 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin adds the shortcode [coinwidget] to embed a coinwidget.com bitcoin donation button.

此插件添加了简码[coinwidget]来嵌入coinwidget.com比特币捐赠按钮。

See http://coinwidget.com.

请参阅http://coinwidget.com。

Since the coinwidget.com source has not changed in some time, this plugin is now based on a branch available at https://github.com/alvinhkh/CoinWidget

由于coinwidget.com的源代码在一段时间内没有更改,因此该插件现在基于https://github.com/alvinhkh/CoinWidget上可用的分支

To get public information about your Bitcoin address it makes queries to http://blockchain.info/address/.

要获取有关您的比特币地址的公共信息,它会查询http://blockchain.info/address/。

To get public information about your Litecoin address it makes queries to http://explorer.litecoin.net/address/.

要获取有关您的莱特币地址的公共信息,它会查询http://explorer.litecoin.net/address/。

To get public information about your Dogecoin address it makes queries to http://dogechain.info/address/.

要获取有关您的狗狗币地址的公共信息,它会查询http://dogechain.info/address/。

Usage

用法

Embed the short [coinwidget] anywhere in your posts or template to include a coinbase button that, when clicked, will display a address for users to send Bitcoins.

将简短的[coinwidget]嵌入到帖子或模板中的任意位置,以包含一个coinbase按钮,单击该按钮将显示一个供用户发送比特币的地址。

Supported attributes as documented here http://coinwidget.com/

此处记录的受支持属性http://coinwidget.com/

    • address – default “”
    • 地址-默认为“”

    • currency – default “bitcoin”, possible (“bitcoin”, “litecoin”, “dogecoin”)
    • currency-默认的“ bitcoin”(可能是“ bitcoin”,“ litecoin”,“ dogecoin”)

    • counter – default “count”
    • 计数器-默认“计数”

    • alignment – default “bl”
    • 对齐方式-默认为“ bl”

    • qrcode – default “true”
    • qrcode –默认为“ true”

    • auto_show – default “false”
    • auto_show –默认为“ false”

    • decimals – default “4”
    • 十进制-默认为“ 4”

    • lbl_button – default “Donate”
    • lbl_button –默认为“捐赠”

    • lbl_address – default “My Bitcoin Address:”
    • lbl_address –默认“我的比特币地址:”

    • lbl_count – default “donations”
    • lbl_count –默认的“捐款”

    • lbl_amount – default “BTC”
    • lbl_amount –默认“ BTC”

    Example:

    示例:

    [coinwidget    

      [coinwidget    

    address="12uaFq9CyGZBoT6nSbVzZ2AjGnZkfRSHoy" currency="bitcoin"    

    地址=“ 12uaFq9CyGZBoT6nSbVzZ2AjGnZkfRSHoy” currency =“比特币”    

    counter="count" alignment="al" qrcode="false" auto_show="true"    

    counter =“ count” alignment =“ al” qrcode =“ false” auto_show =“ true”    

    lbl_button="Press Me" lbl_address="Me Place" lbl_count="Gimme"    

    lbl_button =“按我” lbl_address =“我的位置” lbl_count =“ Gimme”    

    lbl_amount="$$$"]

    lbl_amount =“ $$$”]

安装步骤

    1. Download the plugin via WordPress.org
    2. 通过WordPress.org下载插件

    3. Includes the current master branch of coinwidget.com from here (https://github.com/alvinhkh/CoinWidget).

    4. 从此处(https://github.com/alvinhkh/CoinWidget)包括coinwidget.com当前的主分支。

      You should be able to upgrade to newer versions by replace the contents of that folder.

    5. 您应该可以通过替换该文件夹的内容来升级到较新的版本。

    6. Include the shortcode anywhere in your posts or pages or template.

    7. 在您的帖子,页面或模板中的任何位置添加简码。

      With the appropriate plugins you can also include shortcodes in sidebar widgets.

    8. 使用适当的插件,您还可以在边栏小部件中包含短代码。

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

AI助手支持GPT4.0