Effects · Gutenberg

Crypto Price Ticker block for WordPress

Live cryptocurrency price ticker powered by the free CoinGecko API. Display scrolling prices, cards, or a table with 24 h change, market cap, volume, and coin icons. Auto-refreshes on a configurable interval.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

Live cryptocurrency price ticker powered by the free CoinGecko API. Display scrolling prices, cards, or a table with 24 h change, market cap, volume, and coin icons. Auto-refreshes on a configurable interval.

Inspector panels on this block: Coins & Currency, Layout, Data Fields, Label. Those titles come from index.js, not from a shared template.

Behavior controls: “Coin IDs (CoinGecko, comma-separated)” (e.g. bitcoin,ethereum,solana,dogecoin); “Currency” options: USD ($), EUR (€), GBP (£), JPY (¥), BTC (₿); “Display Layout” options: Scrolling Ticker, Cards Grid, Table.

Where to find it

Gutenberg inserter → Effects → search “Crypto Price Ticker” (block name `blockenberg/stock-ticker` in block.json). Style it in the sidebar after insert.

How to use Crypto Price Ticker block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Crypto Price Ticker”, insert it. Category: Effects.
  3. Configure inspector controls that exist on this block. Open Coins & Currency. Set “Coin IDs (CoinGecko, comma-separated)”, “Currency”, “Currency Symbol”, “Refresh Interval (seconds)”.
  4. Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Coin IDs (CoinGecko, comma-separated)Text field in the inspector. e.g. bitcoin,ethereum,solana,dogecoin. block.json default: bitcoin,ethereum,solana,cardano,dogecoin,polkadot. Saved as `coins`.
CurrencySelect control; the chosen value is saved on the block. Options: USD ($); EUR (€); GBP (£); JPY (¥); BTC (₿); ETH (Ξ). block.json default: usd. Saved as `currency`.
Currency SymbolText field in the inspector. block.json default: $. Saved as `currencySymbol`.
Refresh Interval (seconds)Numeric range control in the inspector. Range 10–3600. block.json default: 60. Saved as `refreshInterval`.
Display LayoutSelect control; the chosen value is saved on the block. Options: Scrolling Ticker; Cards Grid; Table. block.json default: ticker. Saved as `layout`.
Scroll Speed (seconds/loop)Numeric range control in the inspector. Range 10–120. block.json default: 40. Saved as `tickerSpeed`.
Pause on HoverOn/off toggle in the inspector. On by default. Saved as `pauseOnHover`.
Card ColumnsNumeric range control in the inspector. Range 1–6. block.json default: 3. Saved as `cardColumns`.
Show 24h Price ChangeOn/off toggle in the inspector. On by default. Saved as `showChange`.
Show VolumeOn/off toggle in the inspector. Off by default. Saved as `showVolume`.
Show Market CapOn/off toggle in the inspector. Off by default. Saved as `showMarketCap`.
Show Coin IconsOn/off toggle in the inspector. On by default. Saved as `showIcons`.
Show Ticker SymbolOn/off toggle in the inspector. On by default. Saved as `showSymbol`.
Show LIVE LabelOn/off toggle in the inspector. On by default. Saved as `showLabel`.
Label TextText field in the inspector. block.json default: LIVE. Saved as `labelText`.
Border Radius (px)Numeric range control in the inspector. Range 0–30. block.json default: 12. Saved as `borderRadius`.
Colors — BackgroundColor control in the inspector. block.json default: #0f172a. Saved as `bgColor`.
Card BackgroundColor control in the inspector. block.json default: #1e293b. Saved as `cardBg`.
Text ColorColor control in the inspector. block.json default: #e2e8f0. Saved as `textColor`.
Accent / LabelColor control in the inspector. block.json default: #38bdf8. Saved as `accentColor`.
Price Up (▲)Color control in the inspector. block.json default: #22c55e. Saved as `upColor`.
Price Down (▼)Color control in the inspector. block.json default: #ef4444. Saved as `downColor`.
Border ColorColor control in the inspector. block.json default: #334155. Saved as `borderColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the Crypto Price Ticker block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Crypto Price Ticker”. It sits under Effects. After insert, open Coins & Currency and set “Coin IDs (CoinGecko, comma-separated)”, “Currency”, “Currency Symbol”, “Refresh Interval (seconds)”.

What makes Crypto Price Ticker different from other Blockenberg blocks?

Live cryptocurrency price ticker powered by the free CoinGecko API. Display scrolling prices, cards, or a table with 24 h change, market cap, volume, and coin icons. Auto-refreshes on a configurable interval. Inspector labels on this block include “Coin IDs (CoinGecko, comma-separated)”, “Currency”, “Currency Symbol”, “Refresh Interval (seconds)”.

Is the Crypto Price Ticker Gutenberg block free?

Yes. Crypto Price Ticker ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style Crypto Price Ticker to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Coins & Currency, Layout, Data Fields, Label).

Related effects blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Crypto Price Ticker from the Gutenberg inserter.

Get Blockenberg