WordPress.org

Forums

Awesome Weather Widget
[resolved] Weather icons (7 posts)

  1. design_studio
    Member
    Posted 1 year ago #

    Hi there. Really nice and useful plugin.
    Is there a way (easy) to integrate weather icons or similar icon font for the weather condition? Thank you

    http://wordpress.org/plugins/awesome-weather/

  2. rosso711
    Member
    Posted 1 year ago #

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

    you could add as optional to display image.

  3. Hal Gatewood
    Member
    Plugin Author

    Posted 1 year ago #

    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

  4. striped
    Member
    Posted 1 year ago #

    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 -->
    ";

  5. senortiago
    Member
    Posted 1 year ago #

    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?!

  6. cloudduster
    Member
    Posted 1 year ago #

    +1 for adding icons (in the future)

  7. Hal Gatewood
    Member
    Plugin Author

    Posted 11 months ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Awesome Weather Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic