這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

m1.MiniWeather

描述

This plugin easily displays a weather widget with a destination of your choice. No PHP or Shortcode, just a widget.
It caches the requests to the weather database in given intervals.
You will need a free account at https://home.openweathermap.org/users/sign_up .

Font-Icons by Erik Flowers: https://erikflowers.github.io/weather-icons/

螢幕截圖

  • example screenshot
  • find longitude (e.g. 13.41053) & latitude (e.g. 52.524368)
  • WordPress backend, Widget m1.MiniWeather

安裝

  1. upload the folder m1.miniweather to your directory (wp-config/plugins/)
  2. activate the plugin
  3. get a free OpenWeatherMap-account (for API-use): https://home.openweathermap.org/users/sign_up
  4. register an OpenWeatherMap app
  5. search your location, copy longitude & langitude
  6. place the widget in your sidebar
  7. add your API-key, longitude & langitude from OpenWeatherMap to m1.MiniWeather widget

評價

2017年11月6日 1 reply
Al fin encontré un plugin que muestre el clima sin tanta basura. Sin anuncios, sin logos y sin nada que interfiera con mi SITE. RECOMENDADO!!! Lo único que necesita es registrase (sin este registro no se puede) en el sitio https://openweathermap.org y ahí se genera un KEY. Luego busqué en Google las coordenadas de mi ciudad en Logintud y Latitud y las copié. Cuando se ingresa a la configuración del Widget pregunta el nombre que quiero para mostrar en el frontend, se deben ingresar los datos de la longitud, latitud y clave y listo!. Probé con más de 5 diferentes y todos tiraban publicidad, basura o no funcionaron. La única limitación que tiene es que no muestra el pronóstico del clima de otros días excepto el día de hoy. At last I found a plugin that shows the weather without garbage. No ads, no logos and nothing that interferes with my SITE. RECOMMENDED!!! All that is needed is to register (without this registration you cannot walk from point A to B) on the site https://openweathermap.org and there a KEY is generated. Then I searched in Google for the coordinates of my city in Logintude and Latitude and copied them. When you enter the Widget configuration, ask the name you want to show in the frontend, you must enter the longitude, latitude and KEY data and that's it! I tried with more than 5 different widgets and all they threw advertising, trash or did not work. The only limitation it has is that it does not show the weather forecast of other days except today.
閱讀全部3個評價

貢獻者及開發者

“m1.MiniWeather” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 m1.MiniWeather 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.4

  • PHP8.2 compatibility
  • WordPress 6.2 compatibility

0.3

  • fix: display “C” or “F”
  • PHP7 compatibility

0.2

  • initial release