Updating weather widget
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 21 Dec 2018 14:06:44 +0000 (09:06 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 21 Dec 2018 14:06:44 +0000 (09:06 -0500)
Update the url for openweathermap url.

lib/navigation.php

index e36cd02..906f246 100644 (file)
@@ -250,8 +250,9 @@ if ( ! function_exists( 'glm_theme_footer' ) ) {
 
       echo '<li>';
       // echo '<div id="weather-widget"> '. do_shortcode('[wunderground location="L\'Anse, MI" measurement="f" layout="table-horizontal" numdays="1" showdata="alerts,daynames,pop,icon,conditions,date,highlow"]') . '</div>';
-      echo '<div id="weather-widget"> '. do_shortcode('[awesome-weather location="L\'Anse" units="F" forecast_days="4"]') . '</div>';
-      echo '<a href="https://www.wunderground.com/q/zmw:49946.1.99999" target="_blank" id="activate-weather">Weather</a></li>';
+      echo '<div id="weather-widget"> '. do_shortcode('[awesome-weather location="4984902" units="F" forecast_days="4"]') . '</div>';
+      //echo '<a href="https://www.wunderground.com/q/zmw:49946.1.99999" target="_blank" id="activate-weather">Weather</a></li>';
+      echo '<a href="https://openweathermap.org/city/4984902" target="_blank" id="activate-weather">Weather</a></li>';
       echo '<li>';
       //echo '<a href="#">Visitors Guide</a></li>';
       echo '</ul>';