From: Steve Sutton Date: Thu, 27 Oct 2016 19:01:55 +0000 (-0400) Subject: Update for off canvas menu X-Git-Tag: v1.0.2^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cb3a5d13690a3e340fa75571e15a16ba9fd31ce3;p=WP-Themes%2Fmackinacbridge.git Update for off canvas menu Remove the anchor and use span with color of white. --- diff --git a/lib/menu-walker.php b/lib/menu-walker.php index d68cd8a..ca51203 100644 --- a/lib/menu-walker.php +++ b/lib/menu-walker.php @@ -62,7 +62,7 @@ class Glm_Theme_Off_Canvas_Walker extends Walker_Nav_Menu { } if ( $depth === 0 && $object->has_children ) { - $item_html = preg_replace( '/]*>(.*)<\/a>/iU', '$1', $item_html ); + $item_html = preg_replace( '/]*>(.*)<\/a>/iU', '$1', $item_html ); } $output .= $item_html; diff --git a/style.css b/style.css index ed35ed6..10064f7 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: MackinacBridgeAuthority Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for MackinacBridgeAuthority -Version: 1.0.1 +Version: 1.0.2 */