Updating weather widget
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 20 Dec 2018 20:54:11 +0000 (15:54 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 20 Dec 2018 20:54:11 +0000 (15:54 -0500)
use awesom weather widget

lib/navigation.php

index 4bc2482..e36cd02 100644 (file)
@@ -249,7 +249,8 @@ if ( ! function_exists( 'glm_theme_footer' ) ) {
       echo glm_get_footer_nav_menu( '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('[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 '<li>';
       //echo '<a href="#">Visitors Guide</a></li>';