From: Steve Sutton Date: Fri, 27 Nov 2015 16:13:51 +0000 (-0500) Subject: Comment out the nav setup X-Git-Tag: v1.0.0^2~9 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4a5b26a323123f7af45d66d8a76374fa0e27e8ab;p=WP-Themes%2Flittlefieldtownship.git Comment out the nav setup Now the appearance menu should be gone from admin side. --- diff --git a/functions.php b/functions.php index 1aa3e11..7021d5a 100644 --- a/functions.php +++ b/functions.php @@ -40,11 +40,11 @@ function glm_get_menu_options() return $menu_options; } -register_nav_menus(array( +//register_nav_menus(array( //'top-bar' => 'Site Navigation', //'mobile-off-canvas' => 'Mobile', // 'footer' => 'Footer' -)); +//)); /*if ( ! function_exists( 'littlefield_top_bar' ) ) { function littlefield_top_bar() { @@ -63,7 +63,7 @@ register_nav_menus(array( 'walker' => new Littlefield_Top_Bar_Walker() )); } -} +} if ( ! class_exists( 'Littlefield_Top_Bar_Walker' ) ) : class Littlefield_Top_Bar_Walker extends Walker_Nav_Menu {