| 开发者 | pyzia |
|---|---|
| 更新时间 | 2026年7月13日 18:00 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
pyzia.app/dashboard link on its own line (or into an Embed block) and the interactive chart appears in your post. Readers can hover for exact values, pin tooltips, and jump to the full interactive version on Pyzia.
Why a plugin? WordPress can discover Pyzia embeds on its own, but only for authors with the unfiltered_html capability, and it applies a restrictive sandbox to what it finds. This plugin registers Pyzia as a trusted oEmbed provider, so embeds work for every author role, on multisite, and render at full fidelity — exactly like WordPress's built-in providers.
What it does:
pyzia.app/dashboard and pyzia.app/embed/chart links with the WordPress embed system (oEmbed).WP_HTTP_BLOCK_EXTERNAL), instead of embeds failing silently.https://www.pyzia.app/dashboard?ind=MAC_ECON_GDP_PCAP&entities=united-states,china) on an empty line — or add the "Pyzia" block and paste the link there.Standard chart links from the Pyzia dashboard — URLs beginning with pyzia.app/dashboard that show one or more indicators for one or more countries, regions, or companies. Map and treemap views aren't embeddable yet.
The chart automatically fills the width of your content column (up to 800px) and keeps its proportions on phones. In the block editor you can also use the block toolbar's alignment options — wide or full width — on themes that support them, and the chart scales along.
Yes — the chart is live, not a screenshot. It fetches current data from pyzia.app every time a reader views it, so when a new quarter or year is published, your post shows it automatically. Only the date range is fixed by your link: a chart built as "2000–2024" stays 2000–2024. Omit the end date when building the chart if you want it to grow with new data.
Yes. Any editor that uses the WordPress embed system works: in the classic editor, paste the link on its own line; most page builders (Elementor, Divi, Beaver Builder, …) have an embed/oEmbed element that accepts the link.
WordPress caches embed results per post. Activating this plugin clears cached failures automatically. For a post that shows an outdated (but working) chart preview, edit the post and re-paste the link, or clear the embed cache (wp embed cache clear <post-id> with WP-CLI).
Check Tools → Site Health: this plugin adds a test that verifies your server can reach pyzia.app and names the blocker (for example a firewall or WP_HTTP_BLOCK_EXTERNAL) if it cannot. Also make sure the link is a standard chart — map and treemap views are not embeddable yet.
The chart iframe loads data from pyzia.app the same way an embedded video loads from its provider. This plugin itself collects nothing and phones home to no one.