
內容簡介
VSForge Stock Market Widgets Lite 讓您可以在 WordPress 網站上嵌入即時股票報價,透過簡單的短碼或內建的 Gutenberg 區塊來實現,並且不需要訂閱,只需使用免費的 Finnhub API 金鑰。
【主要功能】
• 支援五種顯示佈局
• 使用免費的 Finnhub API 提供即時報價
• 短碼和 Gutenberg 區塊的即時預覽
• 可選擇顯示公司標誌
• 支援深色主題
• 輕量級,無 jQuery 依賴
外掛標籤
開發者團隊
② 後台搜尋「VSForge Stock Market Widgets Lite」→ 直接安裝(推薦)
原文外掛簡介
VSForge Stock Market Widgets Lite lets you embed real-time stock quotes anywhere on your WordPress site using a simple shortcode or the built-in Gutenberg block. Bring your own free Finnhub API key — no subscription required.
Five display layouts
Single Card — one symbol as a prominent price card
Sparkline — price card with a 30-day trend mini-chart
Horizontal Ticker — all symbols in a classic scrollable ticker band (static or auto-scroll)
Vertical List — financial-table style with logo, name, price and change columns
Card Grid — responsive grid of individual price cards
Key features
Powered by the Finnhub free API (60 requests/minute) — get a free key
Optional company logos via the free API Ninjas logo endpoint
Dark theme support — toggle globally or per widget
Shortcode [vsforge_smw_ticker] with per-widget overrides for layout, symbols, display, scroll and theme
Native Gutenberg block with live preview in the editor
Translations included for English, Spanish, French, German, Portuguese (Brazil), Japanese, Russian
Lightweight — no jQuery dependency, vanilla JS only
Results cached with WordPress transients (5 min for quotes, 1 h for sparklines, 7 days for logos)
Shortcode examples
[vsforge_smw_ticker]
Uses the symbols and layout configured in Settings → Stock Market Widgets.
[vsforge_smw_ticker symbols="AAPL,MSFT,GOOGL,TSLA"]
Override the symbols for this widget only.
[vsforge_smw_ticker layout="grid" symbols="AAPL,MSFT,AMZN,GOOGL,META,TSLA"]
Card grid with custom symbols.
[vsforge_smw_ticker layout="sparkline" symbols="AAPL"]
Sparkline card for a single symbol.
[vsforge_smw_ticker layout="horizontal" scroll="auto" dark="1"]
Auto-scrolling horizontal ticker with dark theme.
Privacy
This plugin makes server-side requests to the following external services. No personal data is transmitted.
finnhub.io — real-time stock quotes (required). Privacy Policy
api.api-ninjas.com — company logos (optional, only if an API Ninjas key is configured). Privacy Policy
query1.finance.yahoo.com — historical closing prices for the Sparkline layout (no key required). Privacy Policy
