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 –>
“;