From 0ecdbc1673196bf20a53ef43f39086ee11418fc2 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Wed, 30 Mar 2011 17:26:10 -0600 Subject: [PATCH] removing function to add home to page menu (and fallback wp_list_pages since we automatically do it) --- functions.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/functions.php b/functions.php index 2a37bb8..d3a2e37 100644 --- a/functions.php +++ b/functions.php @@ -28,14 +28,6 @@ register_nav_menus( ) ); -// make sure the menu fallback (wp_list_pages) adds the home link -function roots_page_menu_args($args) { - $args['show_home'] = true; - return $args; -} - -add_filter('wp_page_menu_args', 'roots_page_menu_args'); - // remove container from menus function roots_nav_menu_args($args = ''){ $args['container'] = false;