{"id":267821,"date":"2020-10-28T11:05:21","date_gmt":"2020-10-28T11:05:21","guid":{"rendered":"https:\/\/www.megamenu.com\/?post_type=ht_kb&#038;p=267821"},"modified":"2023-02-22T15:47:15","modified_gmt":"2023-02-22T15:47:15","slug":"medactive","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/medactive\/","title":{"rendered":"Medactive"},"content":{"rendered":"<h3>Mega Menu does not display<\/h3>\n<p>Medactive and Max Mega Menu conflict because they both use a &#8216;mega-menu&#8217; class. The &#8216;mega-menu&#8217; class can be safely removed from Max Mega Menu by adding 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 megamenu_remove_mega_menu_class( $defaults, $menu_id, $current_theme_location ) {\r\n\t$menu_class = $defaults['menu_class'];\r\n\t$menu_class = str_replace(\"mega-menu max-mega-menu\", \"max-mega-menu\", $menu_class);\r\n\t$defaults['menu_class'] = $menu_class;\r\n\treturn $defaults;\r\n}\r\nadd_filter( \"megamenu_nav_menu_args\", \"megamenu_remove_mega_menu_class\", 10, 3 );<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mega Menu does not display Medactive and Max Mega Menu conflict because they both use a &#8216;mega-menu&#8217; class. The &#8216;mega-menu&#8217; class can be safely removed from Max Mega Menu by adding the following to your child themes functions.php file: function megamenu_remove_mega_menu_class( $defaults, $menu_id, $current_theme_location ) { $menu_class = $defaults[&#8216;menu_class&#8217;]; $menu_class&#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-267821","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":"Mega Menu does not display Medactive and Max Mega Menu conflict because they both use a &#8216;mega-menu&#8217; class. The &#8216;mega-menu&#8217; class can be safely removed from Max Mega Menu by adding the following to your child themes functions.php file: function megamenu_remove_mega_menu_class( $defaults, $menu_id, $current_theme_location ) { $menu_class = $defaults['menu_class']; $menu_class...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/267821","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=267821"}],"version-history":[{"count":3,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/267821\/revisions"}],"predecessor-version":[{"id":371994,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/267821\/revisions\/371994"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=267821"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=267821"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=267821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}