Description
Show the weather on your website in under a minute. Vejret Widget adds a modern, responsive weather forecast for any city in the world, in Danish or English. Pick a city, choose a style and you are done – no API key, no account and no coding.
Vis det aktuelle vejr og vejrudsigten på din hjemmeside. Vælg en by, vælg en stil, og du er færdig. Gratis, uden API-nøgle og uden konto.
Works everywhere
- Vejret block for the block editor and block themes (Site Editor / Full Site Editing)
- Classic widget for sidebars and footers in any classic theme
- [vejret] 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
- Danish 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 “Leveret af Vejreti.com” link is shown under the widget.
Need a custom design? Mail us.
Installation
- In your dashboard go to Plugins > Add New, search for Vejret Widget and click Install Now, then Activate.
- Add the weather in any of these ways:
- Block editor / Site Editor: add the Vejret block and set the city in the block settings.
- Classic themes: go to Appearance > Widgets and add Vejret Widget to a sidebar.
- Page builders and anywhere else: paste the shortcode, for example
[vejret city="Aarhus" country="Denmark"].
FAQ
Is it really free?
Yes. No account, no API key and no paid plan.
Which cities are supported?
Cities all over the world. Enter the city and country, for example “København” and “Denmark” or “Barcelona” and “Spain”. Danish names such as “København” and “Århus” work. If the forecast looks wrong for your city, try its English name.
Which shortcode options are there?
[vejret city=”Aarhus” country=”Denmark” language=”danish” days=”5″ unit=”c” theme=”auto” width=”full” current=”yes” details=”yes” sun=”yes” title=”” bg=”” color=””]
- city / country – the location
- language – danish 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=”#c8102e”
- 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 “Vejret i …”
Does it work with block themes like Twenty Twenty-Five?
Yes. Use the Vejret 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 [vejret] 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 created with version 1.0 keep their city, language and options and automatically get the new design.
Does the plugin use cookies or collect personal data?
No cookies are set. The visitor’s browser requests the forecast from the Vejreti 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 – we are highly responsive.
Screenshots




![Use the [vejret] shortcode in any page builder, here in English with Fahrenheit and a custom colour.](https://ps.w.org/vejret-widget/assets/screenshot-5.png?rev=3802944)
Changelog
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
- New: Vejret block for the block editor and block themes (Site Editor)
- New: [vejret] shortcode for page builders and text widgets
- New: redesigned widget settings with a live preview, style swatches and switches
- New: Settings > Vejret Widget 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
- Existing widgets keep their settings
1.0
- First release.
