🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
C

Coinwidget Shortcode

5/5 (1 ratings) 10 active installs Updated Dec 23, 2014
The coinwidget button that how it will appear on the page

The coinwidget button that how it will appear on the page

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

See 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

To get public information about your Bitcoin address it makes queries to http://blockchain.info/address/.
To get public information about your Litecoin address it makes queries to http://explorer.litecoin.net/address/.
To get public information about your Dogecoin address it makes queries to 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.

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

  • address – default “”
  • currency – default “bitcoin”, possible (“bitcoin”, “litecoin”, “dogecoin”)
  • counter – default “count”
  • alignment – default “bl”
  • qrcode – default “true”
  • auto_show – default “false”
  • decimals – default “4”
  • lbl_button – default “Donate”
  • lbl_address – default “My Bitcoin Address:”
  • lbl_count – default “donations”
  • lbl_amount – default “BTC”

Example:

[coinwidget
    address="12uaFq9CyGZBoT6nSbVzZ2AjGnZkfRSHoy" currency="bitcoin"
    counter="count" alignment="al" qrcode="false" auto_show="true"
    lbl_button="Press Me" lbl_address="Me Place" lbl_count="Gimme"
    lbl_amount="$$$"]