{"id":192810,"date":"2019-03-20T15:44:01","date_gmt":"2019-03-20T15:44:01","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/envince-copy\/"},"modified":"2019-03-20T15:53:06","modified_gmt":"2019-03-20T15:53:06","slug":"twenty-nineteen","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/twenty-nineteen\/","title":{"rendered":"Twenty Nineteen"},"content":{"rendered":"<p>When Max Mega Menu is enabled in Twenty Nineteen, you might notice the following conflicts:<\/p>\n<ul>\n<li>Menu items are duplicated within sub menus<\/li>\n<li>Focusing on input boxes within sub menus immediately removes the focus<\/li>\n<\/ul>\n<p>To resolve these issues, add the following to your <a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/child-themes\/\">child themes<\/a> functions.php file:<\/p>\n<pre class=\"lang:default decode:true\">function remove_parent_filters(){ \/\/Have to do it after theme setup, because child theme functions are loaded first\r\n    remove_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav');\r\n    remove_filter( 'wp_nav_menu_objects', 'twentynineteen_add_mobile_parent_nav_menu_items');\r\n}\r\nadd_action( 'after_setup_theme', 'remove_parent_filters' );\r\n\r\n\r\nfunction wpdocs_dequeue_script() {\r\n     wp_dequeue_script('twentynineteen-touch-navigation');\r\n}\r\nadd_action( 'wp_print_scripts', 'wpdocs_dequeue_script', 100 );<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When Max Mega Menu is enabled in Twenty Nineteen, you might notice the following conflicts: Menu items are duplicated within sub menus Focusing on input boxes within sub menus immediately removes the focus To resolve these issues, add the following to your child themes functions.php file: function remove_parent_filters(){ \/\/Have to&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-192810","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-theme-integration"],"uagb_featured_image_src":[],"uagb_author_info":{"display_name":"Tom Hemsley","author_link":"https:\/\/www.megamenu.com\/author\/megamenu\/"},"uagb_comment_info":0,"uagb_excerpt":"When Max Mega Menu is enabled in Twenty Nineteen, you might notice the following conflicts: Menu items are duplicated within sub menus Focusing on input boxes within sub menus immediately removes the focus To resolve these issues, add the following to your child themes functions.php file: function remove_parent_filters(){ \/\/Have to...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/192810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/comments?post=192810"}],"version-history":[{"count":3,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/192810\/revisions"}],"predecessor-version":[{"id":192813,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/192810\/revisions\/192813"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=192810"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=192810"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=192810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}