| 开发者 | vitaliysemenko |
|---|---|
| 更新时间 | 2026年3月31日 02:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[vsforge_smw_ticker] with per-widget overrides for layout, symbols, display, scroll and theme[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.
vsforge-stock-market-widgets-lite folder to the /wp-content/plugins/ directory, or install directly through the WordPress Plugins screen.[vsforge_smw_ticker] shortcode to any post or page, or insert the Stock Market Ticker block in the Gutenberg editor.No. Both Finnhub and API Ninjas offer free tiers that are sufficient for normal usage. Finnhub's free plan allows 60 API requests per minute.
Register for free at finnhub.io/register. After registration, copy your API key from the dashboard and paste it into Settings → Stock Market Widgets → Finnhub API Key.
Register for free at api-ninjas.com/register. Logos are optional — the plugin works without them.
Yes. Each shortcode instance can have its own layout, symbols, scroll, and dark attributes, overriding the global defaults.
Any symbol supported by Finnhub — US stocks (NYSE, NASDAQ), major international exchanges, forex and crypto pairs (e.g. BINANCE:BTCUSDT). Refer to the Finnhub symbol search for details.
Quotes are cached for 5 minutes. Refreshing the page or the AJAX call after the cache expires fetches fresh data from Finnhub.
Yes. Price data is fetched via AJAX after page load, so full-page caches do not affect quote freshness.