WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Weather icons

[Resolved] Weather icons

Viewing 6 replies - 1 through 6 (of 6 total)
  • rosso711
    Participant

    @rosso711

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

    you could add as optional to display image.

    Plugin Author Hal Gatewood
    Participant

    @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:

    http://wordpress.org/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 –>
    “;

    senortiago
    Member

    @senortiago

    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 http://weatherrr.net/ ‘s design. I’m sure we could use their “flat” icons somehow?!

    cloudduster
    Member

    @cloudduster

    +1 for adding icons (in the future)

    Plugin Author Hal Gatewood
    Participant

    @halgatewood

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

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