adding menu-item class to the footer weather element
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 17 Oct 2016 12:36:09 +0000 (08:36 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 17 Oct 2016 12:36:09 +0000 (08:36 -0400)
lib/navigation.php

index 66b369f..282a56c 100644 (file)
@@ -75,7 +75,7 @@ if ( ! function_exists( 'glm_theme_footer' ) ) {
       echo '<ul class="menu text-center">';
       echo glm_get_footer_nav_menu( 'footer' );
       
-      echo '<li>';
+      echo '<li class="menu-item menu-item-type-post_type menu-item-object-page">';
       echo '<div id="weather-widget"> '. do_shortcode('[wunderground location="Three Oaks, MI" measurement="f" layout="table-horizontal" numdays="1" showdata="alerts,daynames,pop,icon,conditions,date,highlow"]') . '</div>';
       echo '<a href="https://www.wunderground.com/q/zmw:49128.1.99999" target="_blank" id="activate-weather">Weather</a></li>';
       echo '</ul>';