內容簡介
此外掛程式新增了簡碼 [faircoinwidget],用來嵌入一個 Faircoin 捐款按鈕。
在文章、範本(或側邊欄小工具,如果您已安裝相關的外掛程式)中,您可以包含文字 [coinwidget address="your faircoin address"],該文字將會被替換為按鈕,就像在 http://getfaircoin.net/widget/ 上看到的那樣。
支援的屬性如此處所述 http://getfaircoin.net/widget/
address:預設值為「」
currency:預設值為「faircoin」
counter:預設值為「count」
alignment:預設值為「bl」
qrcode:預設值為「true」
auto_show:預設值為「false」
decimals:預設值為「4」
lbl_button:預設值為「Donate」
lbl_address:預設值為「My Faircoin Address:」
lbl_count:預設值為「donations」
lbl_amount:預設值為「FAIR」
範例:
[coinwidget
address="fTSjheCjvTCHWkTqggn2bwyk13Cp32mvt2" currency="faircoin"
counter="count" alignment="al" qrcode="false" auto_show="true"
lbl_button="Press Me" lbl_address="Me Place" lbl_count="Gimme"
lbl_amount="$$$"]
或簡短地寫成:
[coinwidget address="<your faircoin address>"]
此外掛程式現在是基於原始的 coinwidget(由 Sccot 開發)的一個分支版本。
可以在 https://github.com/Yyuri/FairCoinWidget 上找到 Faircoin 版。
原始的比特幣版本在 https://github.com/scottycc/coinwidget.com 上。
為了公開地取得您的 Faircoin 位址資訊,此外掛程式會向 https://chain.fair-coin.org/address/ 查詢。
用法
將簡碼 [faircoinwidget] 嵌入到文章或範本的任何位置中,即可包含一個 coinbase 按鈕,當用戶點擊時,將會顯示一個地址,供他們傳送 Faircoin。
支援的屬性如此處所述 http://getfaircoin.net/widget/
address:預設值為「」
currency:預設值為「faircoin」
counter:預設值為「count」
alignment:預設值為「bl」
qrcode:預設值為「true」
auto_show:預設值為「false」
decimals:預設值為「4」
lbl_button:預設值為「Donate」
lbl_address:預設值為「My Faircoin Address:」
lbl_count:預設值為「donations」
lbl_amount:預設值為「FAIR」
範例:
[coinwidget
address="fQntEehR37KGrqGQyLbaNxcpchtdNqWmXA" currency="faircoin"
counter="count" alignment="al" qrcode="false" auto_show="true"
lbl_button="Press Me" lbl_address="Me Place" lbl_count="Gimme"
lbl_amount="$$$"]
或簡短地寫成:
[coinwidget address="<your faircoin address>"]
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin adds the shortcode [faircoinwidget] to embed a faircoin donation button.
Anywhere in a post or template (or sidebar widget if you have the appropriate plugins installed) you can include the text [coinwidget address="your faircoin address"] and it will be replaced with a button as seen on http://getfaircoin.net/widget/.
Supported attributes as documented here http://getfaircoin.net/widget/
address – default “”
currency – default “faircoin”
counter – default “count”
alignment – default “bl”
qrcode – default “true”
auto_show – default “false”
decimals – default “4”
lbl_button – default “Donate”
lbl_address – default “My Faircoin Address:”
lbl_count – default “donations”
lbl_amount – default “FAIR”
Example:
[coinwidget
address="fTSjheCjvTCHWkTqggn2bwyk13Cp32mvt2" currency="faircoin"
counter="count" alignment="al" qrcode="false" auto_show="true"
lbl_button="Press Me" lbl_address="Me Place" lbl_count="Gimme"
lbl_amount="$$$"]
or simply:
[coinwidget address="
This plugin is now based on a forked version from the original coinwidget (by Sccot).
Faircoin version available at https://github.com/Yyuri/FairCoinWidget
Original bitcoin version https://github.com/scottycc/coinwidget.com
To get public information about your Faircoin address it makes queries to https://chain.fair-coin.org/address/.
Usage
Embed the short [faircoinwidget] anywhere in your posts or template to include a coinbase button that, when clicked, will display a address for users to send Faircoin.
Supported attributes as documented here http://getfaircoin.net/widget/
address – default “”
currency – default “faircoin”
counter – default “count”
alignment – default “bl”
qrcode – default “true”
auto_show – default “false”
decimals – default “4”
lbl_button – default “Donate”
lbl_address – default “My Faircoin Address:”
lbl_count – default “donations”
lbl_amount – default “FAIR”
Example:
[coinwidget
address="fQntEehR37KGrqGQyLbaNxcpchtdNqWmXA" currency="faircoin"
counter="count" alignment="al" qrcode="false" auto_show="true"
lbl_button="Press Me" lbl_address="Me Place" lbl_count="Gimme"
lbl_amount="$$$"]
or simply:
[coinwidget address="
