Title: Weather Forecast Widget
Author: adminbergtourentipptirol
Published: <strong>10 ເມສາ 2021</strong>
Last modified: 2 ສິງຫາ 2025

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/weather-forecast-widget/assets/banner-772x250.png?rev=2636468)

![](https://ps.w.org/weather-forecast-widget/assets/icon-256x256.png?rev=2512552)

# Weather Forecast Widget

 ໂດຍ [adminbergtourentipptirol](https://profiles.wordpress.org/adminbergtourentipptirol/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/weather-forecast-widget.1.1.7.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/weather-forecast-widget/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/weather-forecast-widget/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/weather-forecast-widget/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/weather-forecast-widget/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/weather-forecast-widget/)

## ຄຳອະທິບາຍ

#### GENERAL

The weather data for this widget will be retrieved from the [OpenWeatherMap API](https://openweathermap.org/api)
with your own API key.

#### OPENWEATHERMAP API

⚠️ **Important Note:** OpenWeatherMap has transitioned from version One Call API
2.5 to the new **One Call API 3.0**.
 As of now, **usage of the API is no longer
possible without adding valid billing information (e.g. a credit card)** to your
OpenWeatherMap account – even for the free tier.

This means that the **Weather Widget will not work anymore** unless:
 – you switch
to the new **One Call 3.0 API**, and – you have a valid payment method on file in
your OpenWeatherMap account.

🔒 **Recommendation:**
 To avoid unexpected charges, it is highly recommended to
set a **billing cap / usage limit** in your OpenWeatherMap account under [Billing Plans](https://home.openweathermap.org/plans)
after adding a payment method.

For pricing details and limits, visit: [Pricing – OpenWeatherMap](https://openweathermap.org/price)

#### INPUT DATA

You can show the weather for a **CITY** (input data: city name) or for specific **
COORDINATES** (input data: latitude & longitude coordinates) in the widget.

#### PLACEMENT/SHORTCODE

The weather widget can be implemented in a page, a post or into the widget area 
with the help of the shortcode **[weather_forecast_widget]**. Furthermore you´ll
be able to pass different attributes to each shortcode to override your settings
for this widget placement (e.g. manage widget title with an shortcode attribute).

#### TEMPLATES

Currently you can choose 3 templates for the widget.
 * **Template 1** * Current
day´s weather with a weather forecast for the next 3 days * **Template 2** * **Template
2 uses Bootstrap!** * Current day´s weather with an hourly weather forecast and 
a weather forecast for the next 3 days * **Template 3** * **Template 3 uses Bootstrap!***
Weather for the current day and for the next 7 days, each with an hourly weather
forecast and a weather forecast for the next 3 days * **Alert Template 1** * **Alert
Template 1 uses Bootstrap!** * Active weather alerts

#### BACKGROUND IMAGE

For this widget, you´ll be able to choose **your own background image**. Either 
you set a static background image in the widget settings or you choose the dynamic
variant (thumbnail of the page/post, where the shortcode is placed) will be used
as a background image.

#### WEATHER DATA

In addition to the **daily weather forecast**, an **hourly weather forecast** can
also be displayed in the widget. Both the daily and hourly weather forecast can 
be collapsed.

#### WEATHER ALERTS

The weather widget also shows weather alerts. These alerts are dismissable.

#### WEATHER ICONS

In the widget you´ll find awesome and beautiful weather icons. In the plugins settings
page you can choose which weather icons you want to use for the widget.
 * **Animated
Icons Filled** * **Animated Icons Not Filled** * **Static Icons**

#### LAZY LOADING

You have the possibility to load the widget with **lazy loading** (ajax) to load
the data only when necessary.

#### CACHING

Nowadays **caching** is an important topic. This weather forecast widget makes it
possible to cache the received weather data for the next visitor, who will visit
your website page/post next time. You´ll be able to set your desired caching time
in the settings (caching time possible up to 1 hour => this should ensure that the
weather data in the widget is as current as possible). With this caching possibility
you´ll also save API calls.

#### SHORTCODE EXAMPLES

 * Retrieve weather data for a city
    - **[weather_forecast_widget city=”Kufstein”]**
 * Retrieve weather data for a city and show city name as title text
    - **[weather_forecast_widget city=”Kufstein” title_cityname=”X”]**
 * Retrieve weather data for specific coordinates
    - **[weather_forecast_widget lat=”47.5824″ lon=”12.1627″]**
 * Retrieve weather data for specific coordinates and show “Weather for Weather 
   Widget” as title text
    - **[weather_forecast_widget lat=”47.5824″ lon=”12.1627″ title_overwrite=”Weather
      for Weather Widget”]**
 * Retrieve weather data with lazy loading and template 3 for specific coordinates
   and expand the hourly and daily forecast initially
    - **[weather_forecast_widget lazy_loading=”X” template=”3″ hourly_forecast=”
      show” daily_forecast=”show” lat=”47.5824″ lon=”12.1627″]**
 * Retrieve weather alerts with lazy loading and alert template 1 for specific coordinates
   and expand the weather alerts initially
    - **[weather_forecast_widget lazy_loading=”X” template=”alert_1″ alerts=”show”
      lat=”47.5824″ lon=”12.1627″ max_width=”500px”]**

#### SETTINGS

 * Input box for your **OPEN WEATHER MAP API key** (the api key will be tested for
   validity while saving!)
 * Dropdown box to choose if caching of the weather data is necessary and if yes,
   which **CACHE TIME** should be used.
 * Media uploader/selector to choose a **BACKGROUND IMAGE** for the widget (optional–
   otherwise the page/post thumbnail will be used)
 * Radiobuttons to select the **WIDGET TITLE TEXT**, which will be displayed in 
   the widget. This setting will be used as **a default if nothing else will be 
   passed in the shortcode**. If you´ll pass **title_cityname** or **title_overwrite**
   as a shortcode attribute, this attribute will be processed in the widget output.
 * Dropdown to choose the **POST META FIELD** for the title text, if you selected
   the readio button “**Post Meta Field (choose one of the dropdown below)**“
 * Choose, which **WEATHER VALUES** should be shown in the widget
 * Choose, which **UNITS** should be used to display the weather values
 * Choose, which **WEATHER ICONS** should be used for the widget

#### TRANSLATIONS

 * German – adminbergtourentipptirol

### Credits

 * Static Weather Icons provided from **[Erik Flowers Weather Icons](https://github.com/erikflowers/weather-icons)**
 * Animated Weather Icons provided from **[Basmilius Weather Icons](https://github.com/basmilius/weather-icons)**

## ພາບໜ້າຈໍ

 * [[
 * The SETTINGS PAGE contains all parameters, which are available for the configuration
   of this plugin.
 * [[
 * The SETTINGS PAGE contains all parameters, which are available for the configuration
   of this plugin.
 * [[
 * Weather Forecast Widget – TEMPLATE 1
 * [[
 * Weather Forecast Widget – TEMPLATE 2
 * [[
 * Weather Forecast Widget – TEMPLATE 3
 * [[
 * Weather Forecast Widget – ALERT TEMPLATE 1 with alerts
 * [[
 * Weather Forecast Widget – ALERT TEMPLATE 1 without alerts

## ການຕິດຕັ້ງ

#### Via your ADMIN PANEL

 1. Visit “Plugins > Add New”
 2. Search for “Weather Forecast Widget”
 3. Activate the “Weather Forecast Widget” through the plugins menu in your admin panel
 4. Go to “After activation” below.

#### MANUALLY

 1. Download **weather-forecast-widget.zip** – [from Weather Forecast Widget Plugin Folder](https://wordpress.org/plugins/weather-forecast-widget)–
    and unzip
 2. Upload the **weather-forecast-widget** folder to the “/wp-content/plugins/” directory
    using your FTP client
 3. Activate the “Weather Forecast Widget” through the plugins menu in your admin panel
 4. Go to “After activation” below.

#### AFTER ACTIVATION

 1. Go to “Weather Forecast Widget > Settings” in your admin panel
 2. Input your Open Weather Map API key and choose your desired settings.
 3. You’re done and you can now implement the shortcode in your sidebar, posts and 
    pages.

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/bc179ebdf4052613040b7346e20e237499e0e9e25258dc567a4b0a753edbff49?
s=60&d=retro&r=g)

### 󠀁[Good, but sunrise is wrong](https://wordpress.org/support/topic/good-but-sunrise-is-wrong/)󠁿

 [Ericmuc](https://profiles.wordpress.org/ericmuc/) 11 ສິງຫາ 2022 1 ການຕອບກັບ

I realized that the sunrise and sundown times are wrong, no matter why.

![](https://secure.gravatar.com/avatar/3d766708706256205c983e722f610588d2a34236fa71dbe4980f807c960a3091?
s=60&d=retro&r=g)

### 󠀁[Breaks some themes](https://wordpress.org/support/topic/breaks-some-themes/)󠁿

 [tgrblogger](https://profiles.wordpress.org/tgrblogger/) 26 ພຶດສະພາ 2022 1 ການຕອບ
ກັບ

I’ve tried this plugin out on some themes and found that it will break some, undoing
their formatting until completely removed. It does not appear to break all. Just
beware and check carefully after installing it.

![](https://secure.gravatar.com/avatar/8bc5ea502918dbfc1d1bba036816906f74733b73c48b4166eb6e6e8f93e1180b?
s=60&d=retro&r=g)

### 󠀁[Fantastic Plugin](https://wordpress.org/support/topic/fantastic-plugin-1703/)󠁿

 [Ronald Garrison](https://profiles.wordpress.org/rgarrison/) 18 ມັງກອນ 2022

This plugin works perfectly. Great support from the author and is always updating
and adding features.

 [ ອ່ານການຣີວິວທັງໝົດ 3 ລາຍການ ](https://wordpress.org/support/plugin/weather-forecast-widget/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“Weather Forecast Widget” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມ
ໃນການພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ adminbergtourentipptirol ](https://profiles.wordpress.org/adminbergtourentipptirol/)

“Weather Forecast Widget” ໄດ້ຖືກແປເປັນ 2 ພາສາທ້ອງຖິ່ນ. ຂໍຂອບໃຈ [ທີມງານຜູ້ແປ](https://translate.wordpress.org/projects/wp-plugins/weather-forecast-widget/contributors)
ສຳລັບການປະກອບສ່ວນຂອງເຂົາເຈົ້າ.

[ແປ “Weather Forecast Widget” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/weather-forecast-widget)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/weather-forecast-widget/),
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/weather-forecast-widget/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/weather-forecast-widget/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/weather-forecast-widget/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.1.7

 * Compatibility check for WordPress 6.8.2 confirmed
 * Migration of API requests from OpenWeatherMap One Call 2.5 to One Call 3.0
 * Minor improvements and cleanup

#### 1.1.6

 * Compatibility check for WordPress 6.6.2 confirmed
 * Minor improvements and cleanup
 * Added notice about OpenWeatherMap One Call 3.0 changes (API key now requires 
   billing)
 * Preparation for integration of [Weather API](https://www.weatherapi.com/)

#### 1.1.5

 * Bug fixing: Removed a div end tag that was redundant

#### 1.1.4

 * New: Bootstrap is only loaded by this plugin if it has not yet been activated(
   by the active theme or other active plugins).
 * New: New template: Alert Template 1 (“alert_1”).
 * New: New shortcode parameter “alerts”.

#### 1.1.3

 * Bug fixing: Especially Template 2 + Template 3
 * Bug fixing: Display the name of the day in one line in the daily forecast
 * Bug fixing: There is an overflow in the hourly forecast on smaller devices (e.
   g. on smartphones) . Therefore, on smaller devices, only up to 3 columns are 
   displayed over the day. On larger devices, all hourly forecast columns will remain.
 * New: New shortcode parameters “show_hourly_forecast”, “show_daily_forecast”, “
   show_alerts”.
 * New: From now on several [weather_forecast_widget] shortcodes can be used on 
   one page with activated lazy loding (ajax).

#### 1.1.2

 * Bug fixing incompability between bootstrap templates and some themes

#### 1.1.1

 * Bug fixing incompability between bootstrap templates and some themes

#### 1.1.0

 * Bug fixing: Template 1
 * New: Template 2
 * New: Template 3
 * New: Lazy loading shortcode attribute/functionality
 * New: Hourly/daily weather forecast functionality
 * New: Animated weather icons embedded
 * New: Show weather alerts
 * New: Using Bootstrap and Fontawesome
 * Update the “Tested up to” value

#### 1.0.1

 * Bug fixing: Template 1
 * Update the “Tested up to” value

#### 1.0.0

 * Initial load of the plugin.

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.1.7**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **9 ເດືອນ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **200+**
 *  ເວີຊັນ WordPress ** 3.0.1 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **6.8.5**
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/weather-forecast-widget/), [German](https://de.wordpress.org/plugins/weather-forecast-widget/),
   ແລະ [German (Austria)](https://de-at.wordpress.org/plugins/weather-forecast-widget/).
 *  [ແປເປັນພາສາຂອງເຈົ້າ](https://translate.wordpress.org/projects/wp-plugins/weather-forecast-widget)
 * ແທັກ
 * [openweathermap](https://lo.wordpress.org/plugins/tags/openweathermap/)[shortcode](https://lo.wordpress.org/plugins/tags/shortcode/)
   [weather](https://lo.wordpress.org/plugins/tags/weather/)[weather forecast](https://lo.wordpress.org/plugins/tags/weather-forecast/)
   [weather widget](https://lo.wordpress.org/plugins/tags/weather-widget/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/weather-forecast-widget/advanced/)

## ການໃຫ້ຄະແນນ

 4 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 2 ລາຍການ     ](https://wordpress.org/support/plugin/weather-forecast-widget/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/weather-forecast-widget/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/weather-forecast-widget/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/weather-forecast-widget/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/weather-forecast-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/weather-forecast-widget/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/weather-forecast-widget/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ adminbergtourentipptirol ](https://profiles.wordpress.org/adminbergtourentipptirol/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/weather-forecast-widget/)

## ບໍລິຈາກ

ເຈົ້າຕ້ອງການສະໜັບສະໜູນການພັດທະນາຂອງປລັກອິນນີ້ບໍ່?

 [ ບໍລິຈາກໃຫ້ປລັກອິນນີ້ ](https://paypal.me/bergtourentipptirol)