From 897782e65d30da981c9016d98b5367fdaff663fc Mon Sep 17 00:00:00 2001 From: Kalen Johnson Date: Wed, 18 Mar 2015 13:52:15 -0700 Subject: [PATCH] Changing SageNavWalker to NavWalker, and referencing it directly in the template --- lib/nav.php | 2 +- templates/header.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/nav.php b/lib/nav.php index 17ba23a..a905165 100644 --- a/lib/nav.php +++ b/lib/nav.php @@ -15,7 +15,7 @@ use Roots\Sage\Utils; * * */ -class SageNavWalker extends \Walker_Nav_Menu { +class NavWalker extends \Walker_Nav_Menu { private $cpt; // Boolean, is current post a custom post type private $archive; // Stores the archive page for current URL diff --git a/templates/header.php b/templates/header.php index ad835fb..7b867fc 100644 --- a/templates/header.php +++ b/templates/header.php @@ -1,4 +1,4 @@ - +