WS 40 Weather Signature Version.0.3.4
configure settings in settings ws40 signature data now in bold
Downloads: 15
WS40 Weather Signature
Create a live weather signature image for forums and email. Supports a compact banner and a larger weather card.
Features
- Dashboard color, name, domain, units, and field controls.
- Small “Powered By text and WS40 Meteotemplate logo” badge on both signature designs.
- Optional background image URL that fills the signature area behind the weather text and borders.
- Rounded signature edges with transparent outside corners in PNG mode. Optional transparent background setting that preserves the border and Powered By text and WS40 Meteotemplate logo outline.
- WS40 database source with configurable columns.
- Generic JSON weather endpoint source for other websites, with configurable field paths and generic examples.
- Copyable image URLs, forum BBCode, email HTML, and shortcodes.
- Cached data and clear missing-value display.
- Administrator-only Test JSON Connection button checks HTTP response, JSON validity, configured field mappings, and reported units.
Setup
- Activate the plugin.
- Open Settings → Weather Signature.
- Choose WS40 database or External JSON weather API.
- Configure the source mapping, then copy the signature code for your forum or email.
Shortcodes
[ws40_weather_signature layout="compact"]
[ws40_weather_signature layout="card"]
Version 0.1.6: “Powered By” sits outside the logo border; the WS40 Meteotemplate logo remains inside its own outlined box on both signature layouts.
Version 0.1.7: Added an optional background image URL in Settings → Weather Signature. Paste the full image URL (for example, a WordPress Media Library image URL). The image is cropped to fill the signature, and text and borders are drawn over it. Leave the field blank to use the background color or transparent background option.
Version 0.2.1: Fixed background images so they follow the rounded signature corners instead of remaining square. The outer border remains visible.
Version 0.3.2
- Added an optional “Updated” timestamp on the compact signature, controlled by a checkbox in Settings → Weather Signature. Disabled by default.
- Timestamp uses the WordPress site timezone and records when the image is generated; it is not a countdown timer.
Version 0.2.8
- Added a browser test page that refreshes only the signature image every five minutes, without refreshing the whole page.
- Open
/?ws40_weather_signature=compact&ws40_signature_live=1for the compact live-refresh test, or usecardinstead ofcompact. - The normal image URL remains unchanged for Outlook and forum signatures. JavaScript contains no
&&operator.
Version 0.2.7
- Added
[ws40_weather_signature_live], an HTML layout whose weather fields refresh independently of the design on supported web pages. - JavaScript uses nested checks and does not use the
&&operator. - Dynamic scripts may not run in email clients or third-party forum signatures.
Example: [ws40_weather_signature_live refresh="300"]
Version 0.2.2: Added Test JSON Connection under Settings → Weather Signature. It checks the saved endpoint from the WordPress server, reports HTTP status and JSON validity, checks configured field paths, shows source units, and clears the cached weather data.
Version 0.2.4: Automatically migrates the old current.* JSON paths to the correct nested WS40 data.* paths when they match the plugin's previous defaults. The connection test and live signature now use the same mappings; custom mappings are preserved.
Version 0.2.5: The settings page now clearly separates WS40 database columns from optional external JSON settings. Site-specific endpoint examples were removed in favor of generic field-path examples.
Version 0.2.7: Fixed stale readings for the local WS40 database source. Each signature image request now reads the latest WS40 database row instead of waiting for the JSON/API transient cache interval. External JSON sources still use the configured refresh interval.
Version 0.2.8: Added a browser test page that reloads only the image every five minutes. Use ?ws40_weather_signature=compact&ws40_signature_live=1. The image endpoint remains compatible with email and forum signatures.
