This plugin adds the shortcode [coinwidget] to embed a coinwidget.com bitcoin donation button.
此插件添加了简码[coinwidget]来嵌入coinwidget.com比特币捐赠按钮。 p>
See http://coinwidget.com.
请参阅http://coinwidget.com。 p>
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上可用的分支 p>
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/。 p>
Usage
用法 h3>
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按钮,单击该按钮将显示一个供用户发送比特币的地址。 p>
Supported attributes as documented here http://coinwidget.com/
此处记录的受支持属性http://coinwidget.com/ p>
- address – default “”
- 地址-默认为“” li>
- currency – default “bitcoin”, possible (“bitcoin”, “litecoin”, “dogecoin”)
- currency-默认的“ bitcoin”(可能是“ bitcoin”,“ litecoin”,“ dogecoin”) li>
- counter – default “count”
- 计数器-默认“计数” li>
- alignment – default “bl”
- 对齐方式-默认为“ bl” li>
- qrcode – default “true”
- qrcode –默认为“ true” li>
- auto_show – default “false”
- auto_show –默认为“ false” li>
- decimals – default “4”
- 十进制-默认为“ 4” li>
- lbl_button – default “Donate”
- lbl_button –默认为“捐赠” li>
- lbl_address – default “My Bitcoin Address:”
- lbl_address –默认“我的比特币地址:” li>
- lbl_count – default “donations”
- lbl_count –默认的“捐款” li>
- lbl_amount – default “BTC”
- lbl_amount –默认“ BTC” li>
ul>
Example:
示例: p>
[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 =“ $$$”]
code> pre>