Setup for awosemweather widget
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 20 Dec 2018 20:16:33 +0000 (15:16 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 20 Dec 2018 20:16:33 +0000 (15:16 -0500)
Test how easy it is to replace weather widget.

footer.php

index b154c6a..2240092 100644 (file)
@@ -52,7 +52,8 @@
                             <div id="footer-weather" class="footer-section large-4 small-12 columns">
                                 <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('[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"]');?>
                                     </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>