[WordPress] 外掛分享: FairCoinWidget Shortcode

前言介紹

  • 這款 WordPress 外掛「FairCoinWidget Shortcode」是 2015-04-15 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2015-05-01,距離現在已有 3656 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

widgetfaircoin |

外掛標籤

faircoin | coinwidget |

內容簡介

此外掛程式新增了簡碼 [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=""]

此外掛程式現在是基於原始的 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=""]

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「FairCoinWidget Shortcode」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.1 |

延伸相關外掛(你可能也想知道)

文章
Filter
Apply Filters
Mastodon