[WordPress] 外掛分享: Easy CryptoCurrency Ticker

首頁外掛目錄 › Easy CryptoCurrency Ticker
WordPress 外掛 Easy CryptoCurrency Ticker 的封面圖片
10+
安裝啟用
尚無評分
1908 天前
最後更新
問題解決
WordPress 4.4+ PHP 5.4+ v1.0.1 上架:2017-12-26

內容簡介

Easy CryptoCurrency Ticker 是一款 WordPress 外掛,可在網站上顯示目前加密貨幣價格(例如比特幣、以太坊、萊特幣及其他超過 1800 種加密貨幣)。您可以選擇多種加密貨幣並以不同貨幣單位(例如 BTC、USD、EUR、GBP 或其他貨幣)顯示價格。此外,外掛使用 CryptoCompare.com 的 API 從該網站擷取價格。

為提高效能並防止您的網站對遠端伺服器提出過多請求,我們會在本機的 WordPress 資料庫中緩存價格兩分鐘。

Easy CryptoCurrency Ticker 具有以下功能:

- 從超過 1800 種加密貨幣清單中新增一種或多種加密貨幣
- 新增一種或多種國家貨幣或加密貨幣以顯示加密貨幣價格
- 啟用顯示價格下方的更改金額和百分比
- 選擇將幣種符號連結到 CryptoCompare.com 上的概覽頁面
- 隱藏加密貨幣的標誌(選項)
- 在本機緩存加密貨幣標誌
- 將價格在本機緩存兩分鐘
- 新增 Coinbase.com 的推薦連結
- 透過配置的 WordPress 小工具或短碼插入小工具

目前已知的問題:

- 無論如何添加 From 欄位中的貨幣,貨幣都會按字母順序列出。
- 一些加密貨幣雖然在清單中,但 API 不支援,例如 CLOUT、EARTH 等。
- 當第一次新增新的加密貨幣時,頁面加載速度可能會稍慢,因為外掛需要下載並在本機儲存該加密貨幣的標誌。

此外,您可以使用 shortcode(短碼) [cryptocurrency_ticker] 和以下參數來插入小工具:

- f - 加密貨幣代幣符號。多個符號必須以逗號分隔。默認回退選項為:'BTC、ETC、XMR'
- t - 國家貨幣或加密貨幣的符號。多個符號必須以逗號分隔。默認回退選項為:'USD'
- noicon - 要隱藏貨幣標誌,請將此選項設置為 true
- nolink - 要在加密貨幣符號中插入 CryptoCompare.com 概覽頁面之外沒有鏈接,請將此選項設置為 true
- coinbase - 如果您想顯示指向您的 Coinbase.com 推薦 ID 的鏈接,請將您的推薦 ID 設置為此參數
- showchange - 如果您想在價格下方顯示更改金額和百分比,請將此選項設置為 true

若要自訂加密貨幣取價器的外觀,您可以使用以下 CSS 類別來選擇目標:

- .cctw - 主表格元素的類別
- .currency - 加密貨幣代幣符號
- .currency.ico - 選擇加密貨幣圖示的類別
- .amount - 包含價格和更改值的元素
- .price - 包含價格值的元素
- .currency - 包含貨幣符號的元素,作為 .price 的一部分
- .change - 包含更改值(數量和百分比)的元素
- .delay - 包含延遲報價信息的元素
- .coinbase - 包含指向 Coinbase 的推薦鏈接的元素

最後,我們欣然接受任何形式的捐助。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Easy CryptoCurrency Ticker」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Easy CryptoCurrency Ticker displays current cryptocurrency prices (bitcoin, ethereum, litecoin and/or others) on your WordPress website. You may select multiple cryptocurrencies (over 1800 available) to show prices in various currencies (BTC, USD, EUR, GBP or others)
Prices are fetched from CryptoCompare.com using their API.
To improve performance and prevent your website to make too much requests to remote server, we cache prices in local WordPress database for two minutes.
Features

Add one or more cryptocurrencies from the Coin List that contains over than 1800 coins.
Add one or more national or crypto currencies to display cryptocurrency prices.
Enable displaying of change amount and percentage below the price.
Choose to link coin symbol to overview page on CryptoCompare.com
Optionally hide logo for cryptocurrencies.
Cache cryptocurrency logo locally.
Cache prices in local WordPress for two minutes.
Add referral link to your own coinbase.com Referral ID
Insert widget by regular configurable WordPress widget or shortcode

Known issues

Currencies are listed in alphabetic order, no matter how they are added to From field.
Some cryptocurrencies are not supported by API even Coin List contain them, like CLOUT, EARTH, etc
When new cryptocurrency is added for first time, loading of page can be a little bit slower for very first time because plugin have to download and store localle logo for that cryptocurrency.

Shortcode
Along to WordPress widget, you can use shortcode [cryptocurrency_ticker] with following parameters:

f – Symbols of cryptocurrency coins. Multiple symbols have to be separated by comma. Default fallback is: ‘BTC,ETC,XMR’
t – Symbols of national or crypto currency. Multiple symbols have to be separated by comma. Default fallback is: ‘USD’,
noicon – To hide coin logo, set this option to true`
nolink – To insert coin symbol without link to overview page on CryptoCompare.com, set this option to true
coinbase – If you wish to display link to your Coin Base Referral ID, set your referral ID to this parameter
showchange – If you wish to display additional change amount and percentage below the price, set this option to true

Customizations
To customize how ticker looks like, you can use following CSS classes to target various ticker elements:

.cctw – class of main table element
.currency – cryptocurrency coin symbol
.currency.ico – class targeting cryptocurrency icon
.amount – element that contains price and change values
.price – element that contain price value
.currency – element that contain currency symbol as a part of .price
.change – element that contains change value (amount and percentage)
.delay – element that contains info about delayed quotes
.coinbase – element that contains referral link to Coin Base

Donations
Feel free to buy me some beer (or wine) for more cool free plugins.

PayPal: https://paypal.me/aurosevic
BTC: 1EhpAuGM4an7z4r8ACTQ66fsm5Gubmf3HW
ETH: 0x13A850f14CB404C815248e24D6B6d61234Df538d
LTC: LQPqqYRTX1mDxazTX566rEog7bohbGAhmT

延伸相關外掛

文章
Filter
Apply Filters
Mastodon