[WordPress] 外掛分享: Coinwidget Shortcode

首頁外掛目錄 › Coinwidget Shortcode
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
4105 天前
最後更新
問題解決
WordPress 3.0+ v2.0 上架:2014-01-05

內容簡介

此外掛會新增短碼 [coinwidget],用於嵌入 coinwidget.com 的比特幣捐贈按鈕。

請參閱 http://coinwidget.com。

由於 coinwidget.com 的程式碼已經有段時間沒有更新,此外掛現在改為基於 https://github.com/alvinhkh/CoinWidget 的分支版本。

此外掛會發出查詢,取得您比特幣地址的公開資訊,位於 http://blockchain.info/address/。
取得您萊特幣地址的公開資訊,位於 http://explorer.litecoin.net/address/。
去取您狗狗幣地址的公開資訊,位於 http://dogechain.info/address/。

使用方式

在文章或樣板中任意處嵌入短碼 [coinwidget],即可插入一個 coinbase 按鈕,當用戶點擊後,會顯示一個地址以供傳送比特幣。

支援的屬性按照 http://coinwidget.com/ 的記錄如下:

address – 預設為 “” (空)
currency – 預設為 “bitcoin”,可選 (“bitcoin”, “litecoin”, “dogecoin”)
counter – 預設為 “count”
alignment – 預設為 “bl”
qrcode – 預設為 “true”
auto_show – 預設為 “false”
decimals – 預設為 “4”
lbl_button – 預設為 “Donate”
lbl_address – 預設為 “My Bitcoin Address:”
lbl_count – 預設為 “donations”
lbl_amount – 預設為 “BTC”

範例:

[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="$$$"]

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Coinwidget Shortcode」→ 直接安裝(推薦)

原文外掛簡介

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="$$$"]

延伸相關外掛

文章
Filter
Apply Filters
Mastodon