Getting started
Madeira Weather shows the live weather of every town in Madeira and Porto Santo on your site: a card per town with its temperature and an activity tip, an interactive map coloured by temperature, a forecast, sunrise and sunset, a comparison table, and single values for your own layouts.
The data comes from IPMA, Portugal's weather service: real measurements from its weather stations on the islands, and its forecast for each municipality. You can switch to Open-Meteo with an API key of your own (Data sources).
Requirements
- WordPress 5.8 or newer, PHP 7.4 or newer.
- WP-Cron running (it does on almost every site), or a server cron job that calls
wp-cron.php. The weather is fetched in the background; see Caching.
Set it up in four steps
- Install the plugin from the zip (Plugins, Add New, Upload Plugin) and activate it.
- Open Madeira Weather in the admin menu. The Status card on the Settings tab shows the first refresh, usually within a minute.
- Put a shortcode on a page, for example
[madeira_weather_cards]for the cards or[madeira_weather_map]for the map. Every shortcode and attribute is in Shortcodes and on the Shortcodes tab. - Enter your licence key under Madeira Weather, Licence to receive updates (Licence and updates).
Where things are
Everything lives under Madeira Weather:
| Tab | What it is for |
|---|---|
| Settings | The data source, how often it refreshes, units, time zone, the credit line, icons, structured data, and the status of the last refresh |
| Locations | The towns, their coordinates and island, which ones show, in which order |
| Temperature levels | The temperature bands: colour, activity tip and an optional button |
| Theme | The look of every widget: seven looks, the theme editor and your saved looks. See Looks and the theme editor. |
| Places | The walks (with their official status), viewpoints and beaches the widgets read, each an automatic list you can adjust |
| Icons | Your own SVG for any weather condition |
| Maps | Pin sizes and positions, tooltips and links for each town on the map |
| Shortcodes | Every shortcode with its attributes, ready to copy |
| Licence | Your licence key, for updates |
| Support | Documentation, the changelog, what is new, and a system report for support |
The towns
The plugin comes with the ten municipalities of Madeira and Porto Santo: Funchal, Câmara de Lobos, Ribeira Brava, Ponta do Sol, Calheta, São Vicente, Porto Moniz, Santana, Machico, Santa Cruz and Porto Santo. Switch any of them off, change their order, or add your own under Locations. A town you add reads the nearest IPMA weather station and forecast point.