removing function to add home to page menu (and fallback wp_list_pages since we automatically do it)

This commit is contained in:
Ben Word
2011-03-30 17:26:10 -06:00
parent e9976b26fb
commit 0ecdbc1673

View File

@@ -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;