该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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 回复
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