Updating weather
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 21 Dec 2018 16:17:36 +0000 (11:17 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 21 Dec 2018 16:17:36 +0000 (11:17 -0500)
Use new awesome-weather widget shortcode.

footer.php

index f5ca559..d14b0a8 100644 (file)
@@ -12,9 +12,9 @@
                                     <li><a href="<?php bloginfo('url');?>/about-us/e-news-signup">eNews Signup</a></li>
                                     <li>
                                         <div id="weather-widget">
-                                            <?php echo do_shortcode('[wunderground location="Ironwood, MI" measurement="f" layout="table-horizontal" numdays="1" showdata="alerts,daynames,pop,icon,text,conditions,date,highlow"]'); ?>
+                                            <?php echo do_shortcode('[awesome-weather location="4996572" units="F" forecast_days="4"]'); ?>
                                         </div>
-                                        <a href="http://www.wunderground.com/us/mi/ironwood?MR=1" target="_blank" id="activate-weather">Weather</a>
+                                        <a href="https://openweathermap.org/city/4996572" target="_blank" id="activate-weather">Weather</a>
                                     </li>
                                 </ul>
                             </div>