Update url for weather
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 21 Dec 2018 14:21:41 +0000 (09:21 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 21 Dec 2018 14:21:41 +0000 (09:21 -0500)
Using new weather api

footer.php

index 2240092..0b858cc 100644 (file)
                                 <div class="footer-weather-logo">
                                     <div id="weather-widget">
                                         <?php //echo do_shortcode('[wunderground location="Gaylord,MI" measurement="f" layout="table-horizontal" numdays="2" showdata="daynames,pop,icon,conditions,date,highlow"]');?>
-                                        <?php echo do_shortcode('[awesome-weather location="Gaylord" units="F" forcast_days="2"]');?>
+                                        <?php echo do_shortcode('[awesome-weather location="4993756" units="F" forcast_days="4"]');?>
                                     </div>
                                     <a target="_blank" id="activate-weather" href="https://www.wunderground.com/weather/us/mi/gaylord" class=""><img src="<?php echo get_template_directory_uri(); ?>/assets/weather-icon.png?v=1.0.0"></a>
                                 </div>
-                                <a href="https://www.wunderground.com/weather/us/mi/gaylord" target="_blank"><span class="footer-weather-text">Local Weather</span></a>
+                                <a href="https://openweathermap.org/city/4993756" target="_blank"><span class="footer-weather-text">Local Weather</span></a>
                             </div>
                         </div>
                     </footer>