=== MeteoArt - Widget météo pour votre site === Contributors: meteoart Donate link: https://www.meteoart.com Tags: météo, weather widget, prévisions météo, meteo, weather Requires at least: 4.0 Tested up to: 7.1 Requires PHP: 5.6 Stable tag: 2.0.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Beautiful French weather forecast for any WordPress site. Block, widget and shortcode. Free, fast, responsive and no iframes. == Description == **Show the weather on your website in under a minute.** MeteoArt adds a modern, responsive weather forecast for any city in the world, in French or English. Pick a city, choose a style and you are done - no API key, no account and no coding. Affichez la météo actuelle et les prévisions sur votre site. Choisissez une ville, choisissez un style, c’est prêt. Gratuit, sans clé API et sans compte. = Works everywhere = * **MeteoArt block** for the block editor and block themes (Site Editor / Full Site Editing) * **Classic widget** for sidebars and footers in any classic theme * **[meteo] shortcode** for Elementor, Divi, Beaver Builder, WPBakery, the classic editor and text widgets = Looks amazing = * **Auto style** - the colours follow the weather: icy blue when it freezes, warm orange in the sun, slate grey when rain is coming * **Dark**, **Light** and **Custom** styles to match your brand colours * Smart, responsive layout: compact in narrow sidebars, a spacious two-column view with a full-week forecast in wide content areas * Smooth loading placeholder, crisp icons and accessible markup = Everything your visitors want to know = * Current temperature and conditions * Today's high and low * Humidity, wind speed and chance of rain * Sunrise, sunset and hours of daylight * Daily forecast for up to 7 days, with temperature range bars * Celsius or Fahrenheit * French or English labels = Fast and lightweight = * No jQuery and no iframes - SEO friendly * Scripts and styles only load on pages that show the widget * The forecast is cached in the visitor's browser for 20 minutes and shared between widgets for the same city * Works with page caching plugins = Free = The widget is completely free. A small "Données de MeteoArt.com" link is shown under the widget. Need a custom design? [Mail us](mailto:contact@meteoart.com). = Third-party service = The forecast is provided by the MeteoArt weather service. The visitor’s browser requests it from weatherwp.com, sending the city, the language and the address of the page that shows the widget. * Service: [MeteoArt](https://www.meteoart.com) * Terms of use: https://www.meteoart.com/terms * Privacy policy: https://www.meteoart.com/privacy == Installation == 1. In your dashboard go to **Plugins > Add New**, search for **MeteoArt** and click **Install Now**, then **Activate**. 2. Add the weather in any of these ways: * **Block editor / Site Editor:** add the **MeteoArt** block and set the city in the block settings. * **Classic themes:** go to **Appearance > Widgets** and add **MeteoArt Widget** to a sidebar. * **Page builders and anywhere else:** paste the shortcode, for example `[meteo city="Lyon" country="France"]`. == Frequently Asked Questions == = Is it really free? = Yes. No account, no API key and no paid plan. We ask for fair use and may limit requests that abuse the service. = Which cities are supported? = Cities all over the world. Enter the city and country, for example "Paris" and "France" or "Barcelona" and "Spain". If the forecast looks wrong for your city, try its English name. = Which shortcode options are there? = `[meteo city="Lyon" country="France" language="french" days="5" unit="c" theme="auto" width="full" current="yes" details="yes" sun="yes" title="" bg="" color=""]` * **city / country** - the location * **language** - french or english * **days** - 0 to 7 days of forecast * **unit** - c (Celsius) or f (Fahrenheit) * **theme** - auto, dark, light or custom * **bg / color** - background and text colour for the custom theme, for example bg="#7c3aed" * **width** - full (fill the space) or tight (compact, centred) * **current / details / sun** - yes or no, to show the current weather, humidity/wind/rain and sunrise/sunset * **title** - your own title instead of "Météo à ..." = Does it work with block themes like Twenty Twenty-Five? = Yes. Use the MeteoArt block in the Site Editor, in a template part or in any post or page. = Does it work with Elementor, Divi or other page builders? = Yes. Add a shortcode or text element and paste the [meteo] shortcode. = Can I show more than one city on a page? = Yes, add as many blocks, widgets or shortcodes as you like. = Can I change the colours? = Yes. Choose the Light, Dark or Custom style, or keep Auto and the colours follow the weather. = Will my existing widget keep working after updating? = Yes. Widgets, blocks and [meteo] shortcodes created with version 1.0 keep their city, language and options and automatically get the new design. The 1.0 shortcode options (show_current, show_wind, show_sunrise, background_color, text_color, widget_width) still work. = Does the plugin use cookies or collect personal data? = No cookies are set. The visitor's browser requests the forecast from the MeteoArt weather service (weatherwp.com), which receives the city, the language and the address of the page that shows the widget. = I need a custom design, can I talk with someone? = Yes, [mail us](mailto:contact@meteoart.com) - we are highly responsive. == Screenshots == 1. Four styles: Auto (colours follow the weather), Dark, Light and your own brand colours. 2. In wide content areas the widget switches to a spacious layout with a 7-day forecast. 3. The classic widget in a theme sidebar. 4. Fully responsive - looks great on phones. 5. Use the [meteo] shortcode in any page builder, here in English with Fahrenheit and a custom colour. == Changelog == = 2.0.2 = * Fixed: the English wind label showed "Vent" instead of "Wind" * Fixed: widgets saved with the 1.0 default background now get the new Auto style = 2.0.1 = * Improved: the widget tells the weather service which plugin version it is, so we can see when sites have the new design * Tested with the latest WordPress = 2.0.0 = * New: completely redesigned widget - modern, fully responsive, with colours that follow the weather and Light, Dark and Custom styles * Improved: the MeteoArt block now has a live preview and works in block themes (Site Editor) * Improved: the [meteo] shortcode has more options (style, unit, width, title) and works in any page builder * New: redesigned widget settings with a live preview, style swatches and switches * New: MeteoArt Widget admin page with a live preview and a shortcode builder * New: Celsius / Fahrenheit, daylight length, temperature range bars, up to 7 forecast days * Improved: no jQuery dependency; scripts and styles only load where the widget is shown * Improved: forecast is cached in the browser for 20 minutes and shared between widgets for the same city * Improved: friendly loading and error states * Security: all widget settings and weather data are now escaped on output * Fixed: version 1.0 switched on WordPress debug mode (WP_DEBUG), which could show PHP warnings to visitors * Existing widgets, blocks and shortcodes keep their settings = 1.0 = * First release. == Upgrade Notice == = 2.0.2 = Small fixes: English wind label and the colours of widgets created with version 1.0. = 2.0.1 = Small maintenance update for the 2.0 design. = 2.0.0 = Brand new design, a Gutenberg block and a shortcode. Existing widgets keep their settings.