Title: widget no working
Last modified: August 21, 2016

---

# widget no working

 *  Resolved [Etnic](https://wordpress.org/support/users/etnic/)
 * (@etnic)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/widget-no-working/)
 * Hi,
 * I installed your’s widget on my localhost and everything work fine. If I installed
   on my free webhosting [http://www.biz.nf](http://www.biz.nf) isn’t working.
 * Any solution?
    Thank you.
 * [http://wordpress.org/plugins/awesome-weather/](http://wordpress.org/plugins/awesome-weather/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Hal Gatewood](https://wordpress.org/support/users/halgatewood/)
 * (@halgatewood)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/widget-no-working/#post-4215813)
 * Do you have a URL to the site where it’s not working? Most likely your free host
   doesn’t allow remote calls to external websites using (wp_get_remote). Maybe 
   this is something they could turn on for you.
 * Mostly like because it’s free hosting they have it turned off to prevent stuff.
 *  [storkontheroof](https://wordpress.org/support/users/storkontheroof/)
 * (@storkontheroof)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/widget-no-working/#post-4215878)
 * FYI: With me, the widget wasn’t working either.
 * Seems that the following line of code, was the problem when using location like‘
   London,UK’:
    **awesome-weather.php – line 99** `$city_name_slug = sanitize_title(
   $location );`
 * sanitize_title seemed to remove the comma from the location, thus passing londonuk
   in the querystring when calling the openweather api.
    When passing london,uk 
   in the querystring it worked for me.
 * Hope this helps.
 * Best,
    Richard
 *  Plugin Author [Hal Gatewood](https://wordpress.org/support/users/halgatewood/)
 * (@halgatewood)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/widget-no-working/#post-4215879)
 * [@storkontheroof](https://wordpress.org/support/users/storkontheroof/) Interesting,
   I just did a few tests and it appears you are right! Excellent find. I’ll work
   on a fix and get that out quickly.
 *  Plugin Author [Hal Gatewood](https://wordpress.org/support/users/halgatewood/)
 * (@halgatewood)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/widget-no-working/#post-4215889)
 * For others who are having problems you can find the City ID and bypass the location
   lookup process. Here are the steps:
 * [http://halgatewood.com/docs/plugins/awesome-weather-widget/finding-city-id/](http://halgatewood.com/docs/plugins/awesome-weather-widget/finding-city-id/)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘widget no working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/awesome-weather_ad7c7d.svg)
 * [Awesome Weather Widget](https://wordpress.org/plugins/awesome-weather/)
 * [Support Threads](https://wordpress.org/support/plugin/awesome-weather/)
 * [Active Topics](https://wordpress.org/support/plugin/awesome-weather/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/awesome-weather/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/awesome-weather/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Hal Gatewood](https://wordpress.org/support/users/halgatewood/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/widget-no-working/#post-4215889)
 * Status: resolved