Kuvaus
This plugin from theFinancials.com lets you embed FREE, live-updating, financial market data widgets into your WordPress pages. Display daily updates on your website for popular financial data: US Treasury Rates, SOFR Rates, Prime Rate, Canadian CMB Rates, GOC Rates, and other Interest Rates, Stocks, Major Indexes, Currency Exchange Rates (Forex), Grain Prices, Energy Prices, Metal Prices, and more. theFinancials.com has been providing reliable market data for all industries since 1996.
The plugin provides the full widget catalog from theFinancials.com. You choose the Market, Widget, Size/Shape and embed Method (JavaScript or iframe).
Key Features
- Daily updates for hundreds of popular financial instruments in web-ready widgets.
- Catalog-driven: Markets, Widgets, and Sizes come directly from theFinancials catalog (no manual updates).
- Two configuration methods: Shortcode generator with copy-and-paste ready code or Block Editor with live preview.
- Two embed methods: JavaScript or iframe.
- Security-first: fetches data only from theFinancials.com subdomains.
- All widgets are FREE. (For Custom Widgets contact info@mail.thefinancials.com)
External Services
This plugin connects to a third-party service operated by theFinancials.com LLC to retrieve widget catalog data and to generate the embed code used to display selected widgets on your site.
Service owner: theFinancials.com LLC
Service purpose: Provide the list of available market-data widgets and return the HTML/JS embed code for the widgets you choose.
Service endpoints: Hosted by theFinancials.com over HTTPS.
Terms: https://thefinancials.com/terms-and-conditions/
Privacy Policy: https://thefinancials.com/privacy-policy/
What Data Is Sent and When
The plugin makes requests to theFinancials.com in two situations:
-
In the WordPress admin (catalog & settings UI):
When you open the plugin’s pages to browse or configure widgets, the plugin requests the latest widget catalog.
The request includes:- Your site URL (as HTTP Referer)
- WordPress version and plugin version (for compatibility)
- Your current plugin settings necessary to filter the catalog (e.g., selected categories or widget IDs)
-
On the front end (rendering a widget):
When a page loads a widget, the plugin requests the corresponding embed/snippet.
The request includes:- The widget identifier(s) you selected in the admin
- Minimal context required to return the correct embed (e.g., size/variant flags)
Not sent by the plugin:
End-user names, emails, or other directly identifying visitor information.
No cookies are set by the plugin for this purpose.
Network metadata (e.g., IP address) may be visible to the service as part of normal HTTPS requests.
Why This Data Is Sent
- To show you an up-to-date widget catalog in the admin UI
- To return the correct widget code so the widget can be displayed on the front end
- To maintain compatibility and troubleshoot version-specific issues (using WP/plugin version)
How Data Is Transmitted and Stored
- Transport: All requests use HTTPS.
- Retention: Operational logs may be retained by the service provider for security and reliability (e.g., abuse prevention, debugging). See the provider’s Privacy Policy for details.
Opt-Out / Disabling the Service
This plugin’s core functionality depends on the external API.
If you do not wish to send the above data to theFinancials.com, you should deactivate the plugin (widgets will no longer render).
Front-End JavaScript Rendering
This plugin enqueues all admin/editor assets using WordPress APIs.
For the front end, the JavaScript widget method outputs a <script src="…"> inline at the block position.
This is intentional: the vendor script requires synchronous, in-place execution.
Enqueuing causes many themes/builders/optimizers to relocate or defer the script, which breaks in-place rendering (widgets appear outside the content area or fail to load).
The inline script is limited to front-end rendering, sanitized, and contains no inline event handlers.
It mirrors the officially supported embed method that theFinancials.com customers use today.
Kuvankaappaukset
Blocks
This plugin provides 1 block.
- theFinancials Embed
Asennus
- Upload the ZIP file via Plugins Add New Upload Plugin, then activate.
- Go to theFinancials in the admin menu and select your Market, Widget, Size/Shape, and Method.
- For iframe installs you can set iframe Height (px) (default 500).
- Click Save Changes. Your shortcode will appear under Install via Shortcode.
- Add the widget by either:
- Inserting the theFinancials Embed block in the editor, or
- Pasting the shortcode into a page or post.
- Open theFinancials from the WordPress admin menu to configure global settings, or use the theFinancials Embed block to edit directly in the Block Editor.
Shortcode Example
Use the generated shortcode from the settings page, or supply attributes explicitly:
[tfcwidgets4wp market=”POP” title=”US Market Overview” size=”H” method=”iframe” height=”640″]
Attributes:
– market – Market ID from the catalog (e.g., POP)
– title – Widget title exactly as shown in the catalog
– size – Size/Shape ID (T, S, C, M, F, H, P)
– method – JavaScript or iframe (Ticker always uses JavaScript)
– height – Optional pixels for iframe method (defaults to 500 if not set)
UKK
-
Does the plugin support paid widgets?
-
No. The plugin offers free widgets only. For Custom Widgets contact info@mail.thefinancials.com
-
Will the catalog update automatically?
-
Yes. The plugin reads the canonical catalog and does not require a manual refresh.
-
How do I change the iframe height?
-
Set iframe Height (px) on the settings page or block sidebar, or pass
height="###"in the shortcode. -
Can I use multiple widgets?
-
Yes. You can insert the block or shortcode on multiple pages. They will render using your current saved settings, or the attributes you pass to the shortcode.
Arvostelut
There are no reviews for this plugin.
Avustajat & Kehittäjät
“theFinancials Market Widgets” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.
AvustajatKäännä “theFinancials Market Widgets” omalle kielellesi.
Oletko kiinnostunut kehitystyöstä?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Muutosloki
3.0.7
- Documented front-end JavaScript method (inline output for in-place execution).
- Added PHPCS ignore (NonEnqueuedScript) scoped to front-end branch with reviewer comments.
- All admin/editor assets remain enqueued via WordPress APIs.
3.0.6.12
- Admin settings JavaScript enqueued via admin_enqueue_scripts; data passed with wp_add_inline_script.
- Added PHPCS ignore annotations for preview standalone HTML (/ lines).
3.0.6.11
- Fixed: Readme header mismatch (Requires at least: 6.3) and trimmed short description (<150 chars).
- Aligned JS text domain to match plugin text domain.
3.0.6.10
- Fixed: Admin Widget & Size/Shape dropdowns repopulate correctly.
- Ensured catalog JSON is printed on the settings page.
- Prefix cleanup and documentation alignment.
3.0.6.9
- Standardized prefix to tfcwidgets4wp (shortcode, options, AJAX, handles, block namespace).
- Hardened escaping for JSON output using wp_json_encode with HEX flags.
- Maintained “External Services” disclosure.
- Documentation updates.
3.0.2
- Shortcode now requires wid=”…”. Other attributes (market, title, size) are included for clarity.
3.0.1
- Added support for wid=”NNNNNNNNNN” to target a widget by canonical ID.
- When wid is present, market/title/size are not required.
- Ticker WIDs always render in JavaScript mode.
2.6.6
- Marked stable.
- Block preview: JavaScript/Ticker via sandboxed iframe srcDoc; iframe method uses direct external iframe.
- Removed redundant heading inside preview; preserved standard block toolbar/selection.
- Consistent casing: theFinancials.
2.6.x (earlier)
- Catalog integration (Market Widget Size/Shape) using the canonical catalog.
- Security hardening: restricted remote fetches to theFinancials.com subdomains; sanitized/escaped admin output.





