Tiempo – Widget del tiempo para tu web

外掛說明

Show the weather on your website in under a minute. Tiempo adds a modern, responsive weather forecast for any city in the world, in Spanish or English. Pick a city, choose a style and you are done – no API key, no account and no coding.

Muestra el tiempo actual y el pronóstico en tu web. Elige una ciudad, elige un estilo y listo. Gratis, sin clave API y sin cuenta.

Works everywhere

  • Tiempo block for the block editor and block themes (Site Editor / Full Site Editing)
  • Classic widget for sidebars and footers in any classic theme
  • [tiempo] 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
  • Spanish 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 “Datos de Tiempo3.com” link is shown under the widget.

Need a custom design? Mail us.

Third-party service

The forecast is provided by the Tiempo weather service. The visitor’s browser requests it from weatherwp.com, sending the city, the language, the plugin version and the address of the page that shows the widget.

  • Service: Tiempo
  • Terms of use: https://www.tiempo3.com/terms
  • Privacy policy: https://www.tiempo3.com/privacy

螢幕擷圖

適用於區塊編輯器

這個外掛提供 1 個可供區塊編輯器使用的區塊。

  • Tiempo Current weather and a daily forecast for any city.

安裝方式

  1. In your dashboard go to Plugins > Add New, search for Tiempo and click Install Now, then Activate.
  2. Add the weather in any of these ways:
    • Block editor / Site Editor: add the Tiempo block and set the city in the block settings.
    • Classic themes: go to Appearance > Widgets and add Tiempo Widget to a sidebar.
    • Page builders and anywhere else: paste the shortcode, for example [tiempo city="Sevilla" country="Spain"].

常見問題集

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 “Madrid” and “Spain” or “Buenos Aires” and “Argentina”. If the forecast looks wrong for your city, try its English name.

Which shortcode options are there?

[tiempo city=”Sevilla” country=”Spain” language=”spanish” days=”5″ unit=”c” theme=”auto” width=”full” current=”yes” details=”yes” sun=”yes” title=”” bg=”” color=””]

  • city / country – the location
  • language – spanish 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=”#c2410c”
  • 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 “Tiempo en …”

Does it work with block themes like Twenty Twenty-Five?

Yes. Use the Tiempo 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 [tiempo] 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 [tiempo] 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 Tiempo weather service (weatherwp.com), which receives the city, the language, the plugin version 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.

使用者評論

2021 年 8 月 21 日
I've been seeking a 3-day forecast weather widget and have tried many. Between downloading API keys and finding poor results to my needs, Tiempo served my needs! Although I prefer F over C, this plugins was free and easy! Thanks for the plugin and please upgrade to have a F option.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Tiempo – Widget del tiempo para tu web〉的開發相關工作。

參與者

〈Tiempo – Widget del tiempo para tu web〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Tiempo – Widget del tiempo para tu web〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

2.0.0

  • New: completely redesigned widget – modern, fully responsive, with colours that follow the weather and Light, Dark and Custom styles
  • Improved: the Tiempo block now has a live preview and works in block themes (Site Editor)
  • Improved: the [tiempo] 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: Tiempo 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
  • Improved: the widget tells the weather service which plugin version it is
  • 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
  • Fixed: version 1.0 used a version constant that clashed with the MeteoArt plugin when both were active
  • Existing widgets, blocks and shortcodes keep their settings

1.0

  • First release.