我创建了一个带有 6 个菜单的自定义主题
// Load Menu
function register_my_menus() {
register_nav_menus( array(
'home_menu' => 'Home Menu',
'header_menu' => 'header Menu',
'brand_design' => 'Brand Design Menu', 'container' => false,
'cycling_design' => 'Cycling Design Menu', 'container' => false,
'wine_lable_design' => 'Wine Label Design Menu', 'container' => false,
'fun_projects' => 'Fun PLay Projects Menu', 'container' => false
));
}
add_action( 'init', 'register_my_menus' );
但正如您从图片中看到的那样,它添加了一个额外的屏幕帽,有人有什么建议吗?