Zenkoku Stock Chart
投稿・固定ページ・公開カスタム投稿タイプで証券コードを入力し、TradingViewの株価チャートを表示するショートコードを提供。[zk_stock_chart]
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/pappy0157/zenkoku-stock-chart/archive/refs/heads/main.zipDisplay real-time stock charts on posts, pages, and custom post types using TradingView. Add a stock code and market suffix, and embed a chart with a simple shortcode.
Description
Zenkoku Stock Chart lets you embed real-time stock charts into WordPress content.
Supports posts, pages, and all public custom post types.
Key features:
- Metabox to save stock code (e.g. 7203) and market suffix (e.g. .T for TSE).
- Shortcode
[zk_stock_chart]with customizable attributes:code,marketorsymbol(e.g.TSE:7203)height(default 550)theme(light|dark)range(1D,5D,1M,3M,6M,12M,YTD,ALL)toolbar(true|false),details(true|false)
- Uses official TradingView widget.
- Automatically outputs credit: © 全国企業データベース
Example:
[zk_stock_chart code="7203" market=".T" height="600" theme="dark"]
pgsql コードをコピーする
Installation
- Plugins → Add New → search “Zenkoku Stock Chart” → Install → Activate OR
- Upload the ZIP via Plugins → Add New → Upload Plugin → Install Now → Activate
Frequently Asked Questions
The chart doesn’t show.
Check that code and market (or symbol) are valid on TradingView (e.g., 7203.T).
Can I force dark theme?
Use [zk_stock_chart theme="dark"].
Screenshots
- Chart embedded in a post with credit.
- Metabox for code/market on the edit screen.
Changelog
1.2.1
- Align plugin name with readme.
- Update “Tested up to” to 6.8.
- Separate Plugin URI and Author URI.
1.2.0
- Add credit line © 全国企業データベース with link.
- Improve CPT compatibility.
1.1.0
- Extend support to all public custom post types.
1.0.0
- Initial release.
Upgrade Notice
1.2.1
Compatibility header updates and name alignment for WordPress.org listing.
Arbitrary section 1
This plugin is developed for the 全国企業データベース project.
Website: https://companydata.tsujigawa.com/