From cb3a5d13690a3e340fa75571e15a16ba9fd31ce3 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Thu, 27 Oct 2016 15:01:55 -0400 Subject: [PATCH] Update for off canvas menu Remove the anchor and use span with color of white. --- lib/menu-walker.php | 2 +- style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.17.1