Change to new weather widget
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 21 Dec 2018 17:48:52 +0000 (12:48 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 21 Dec 2018 17:48:52 +0000 (12:48 -0500)
Using awesome weather widget

footer.php
style.css

index 29136be..224578d 100644 (file)
@@ -4,9 +4,9 @@
                                     <ul id="menu-footer">
                                         <li>
                                             <div id="weather-widget">
-                                                <?php echo do_shortcode('[wunderground location="Mount Pleasant, MI" measurement="f" layout="table-horizontal" numdays="1" showdata="alerts,daynames,pop,icon,text,conditions,date,highlow"]'); ?>
+                                                <?php echo do_shortcode('[awesome-weather location="5002714" units="F" forecast_days="4"]'); ?>
                                             </div>
-                                            <a href="http://www.wunderground.com/us/mi/mount-pleasant?MR=1" target="_blank" id="activate-weather">Weather</a>
+                                            <a href="https://openweathermap.org/city/5002714" target="_blank" id="activate-weather">Weather</a>
                                         </li>
                                         <li><a href="<?php bloginfo('url'); ?>/e-news-sign-up/">Sign Up</a></li>
                                         <?php mountpleasantcvb_footer(); ?>
index 3a52bd2..0f6d73c 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: MountPleasantCVB
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for MountPleasantCVB
-Version: 1.2.46
+Version: 1.2.47
 */