WordPress.org

Forums

Awesome Weather Widget
Errors are added as HTML comments (4 posts)

  1. Hal Gatewood
    Member
    Plugin Author

    Posted 2 years ago #

    If for some reason your widget is not being displayed, view source on the page and search for 'AWESOME WEATHER ERROR:'. This will give you some information about what happened.

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

  2. rssantan
    Member
    Posted 1 year ago #

    hello, my name is Ricardo, mail: comercial@needsolution.com.br

    please, help me, I'm from Brazil, how to translate your plugin to portuguese ?

  3. lwoods
    Member
    Posted 1 year ago #

    To: Hal Gatewood

    Re: Error

    In the event of receiving an error from the Weather source, instead of just clearing your display I would like to see you seriously consider preserving the previous display and adding something like "DELAYED" in the display. Just clearing the display is VERY confusing to users---and to developers as well!

  4. Hal Gatewood
    Member
    Plugin Author

    Posted 1 year ago #

    There has also been a filter available to hook into and display whatever you want when there is an error:

    function hg_awesome_weather_error( ) {
        return "Weather Data Coming Soon";
    }
    add_filter( 'awesome_weather_error', 'hg_awesome_weather_error' );

    I think hiding the widget on error is probably the most user friendly solution unless you are a weather website, in which case I would advise you to use a different more robust weather widget. The weather widget is probably not the focus of the page and if it happens to not show one time, most users will probably not notice.

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

Tags

No tags yet.