Viewing 6 replies - 1 through 6 (of 6 total)
  • mravat

    (@rosso711)

    +1 this is the only thing that i am missing.

    you could add as optional to display image.

    Plugin Author Hal Gatewood

    (@halgatewood)

    This has not been added at this time. I hope to do it one day. Another user created something. You can read more here:

    https://www.ads-software.com/support/topic/graphics-please?replies=8

    Neocreo’s solution seems to be working.

    Open weather api provides an “icon” parameter which outputs an array of terms. These outputs are also the names of the icon files provided by open weather.

    Corresponding icon names can be found Here.

    I added another div into “awesome-weather-todays-stats” class and passed the “icon” parameter. Stored my icon in a folder in the plugin directory. Works good.

    Thanks by the way, cool plugin.

    $plugins = $url = plugins_url();

    $rtn .= “
    <div class=\”awesome-weather-todays-stats\”>
    <div class=\”awe_desc \”><img src=\”{$plugins}/awesome-weather/img/{$today->weather[0]->icon}.png\” height=\”38\”/></div>
    </div> <!– /.awesome-weather-todays-stats –>
    “;

    Thanks for sharing! I was looking for a weather plugin that fit my needs and the only thing was missing, was icons.

    By the way.. if the plugin is based on https://weatherrr.net/ ‘s design. I’m sure we could use their “flat” icons somehow?!

    +1 for adding icons (in the future)

    Plugin Author Hal Gatewood

    (@halgatewood)

    Just a note to anyone looking at this thread. Icons are available in the PRO version of this plugin found here: https://halgatewood.com/downloads/awesome-weather-widget-pro/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Weather icons’ is closed to new replies.