Changing SageNavWalker to NavWalker, and referencing it directly in the template

This commit is contained in:
Kalen Johnson
2015-03-18 13:52:15 -07:00
parent a7ec5423db
commit 897782e65d
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ use Roots\Sage\Utils;
* <li class="menu-home"><a href="/">Home</a></li>
* <li class="menu-sample-page"><a href="/sample-page/">Sample Page</a></li>
*/
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