Economicium Widget

外掛說明

Add a free, self-updating Economicium widget to any post, page or widget area. Two widget types:

  • Latest stories – a compact, auto-updating list of the newest economic-news summaries.
  • Market mood – the bullish / neutral / bearish split of recent news.

No account, no API key. Filter to a single category (crypto, energy, markets and more), switch between a light and dark card, and choose how many stories to show.

Shortcode

[economicium]

Attributes:

  • typelatest (default) or mood
  • category – a category slug such as crypto, energy, markets (default: all)
  • themelight (default) or dark
  • limit – 1 to 8 stories (default 5); latest only
  • title – a custom heading
  • modescript (default, includes a link back to Economicium) or iframe (most portable)

Examples:

[economicium type="mood" category="crypto" theme="dark"]
[economicium type="latest" limit="6"]

External services

This plugin renders the widget by loading a small script (embed.js) or an <iframe> from Economicium (https://economicium.com). When a visitor views a page containing the widget, their browser requests the widget markup and the latest headlines / market-mood data from economicium.com. No personal data is sent by the plugin; standard web-server request metadata (such as IP address, handled by economicium.com) applies as with any embedded content.

  • Service: Economicium – https://economicium.com
  • Terms: https://economicium.com/disclaimer
  • Privacy: https://economicium.com/privacy

螢幕擷圖

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/, or install it from the WordPress plugin directory.
  2. Activate it through the “Plugins” screen.
  3. Add [economicium] to any post, page, or a Shortcode block. Adjust the attributes as needed.

常見問題集

Does it cost anything?

No. The widget is free to use. A small “Powered by Economicium” credit stays visible.

Will it slow down my site?

The script loads asynchronously and the data is cached, so it does not block your page from rendering.

Can I show only one category?

Yes. Use the category attribute, for example [economicium category="energy"].

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Economicium Widget〉的開發相關工作。

參與者

將〈Economicium Widget〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

  • Load the widget script via wp_enqueue_script() (async, in the footer) instead of a hardcoded script tag, per the WordPress.org plugin guidelines. Per-widget options now sit on the mount div, so one enqueued script can power multiple widgets on a page.

1.0.0

  • Initial release: [economicium] shortcode with latest / market-mood widgets, category, theme, limit and iframe options.