{"id":13948,"date":"2016-03-25T20:53:16","date_gmt":"2016-03-25T20:53:16","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/faqs\/theme-integration\/face-art-copy-2\/"},"modified":"2016-03-25T21:19:34","modified_gmt":"2016-03-25T21:19:34","slug":"medicallink","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/medicallink\/","title":{"rendered":"MedicalLink"},"content":{"rendered":"<p>MedicalLink uses JavaScript to dynamically create the mobile menu. This functionality does not work correctly when Max Mega Menu has been enabled for the main menu. To fix the mobile menu:<\/p>\n<h3>Step 1<\/h3>\n<p>Under <em>Appearance &gt; Editor,<\/em> select &#8216;header.php&#8217; on the right.<\/p>\n<p><strong>Find (line ~376):<\/strong><\/p>\n<pre class=\"lang:php decode:true\">&lt;nav class=\"navbar-collapse collapse\" id=\"pm-main-navigation\"&gt;\r\n<\/pre>\n<p><strong>Replace with:<\/strong><\/p>\n<pre class=\"lang:php decode:true\">&lt;nav class=\"navbar-collapse collapse\"&gt;\r\n<\/pre>\n<p><em>(this change will stop MedicalLink from dynamically creating a mobile menu)<\/em><\/p>\n<p><strong>Find (line ~97):<\/strong><\/p>\n<pre class=\"lang:php decode:true\">&lt;?php if($enableMicroMenu === 'on') : ?&gt;\r\n<\/pre>\n<p><strong>Replace with:<\/strong><\/p>\n<pre class=\"lang:php decode:true\">&lt;div class=\"hidden-sm hidden-md hidden-lg\"&gt;\r\n    &lt;?php wp_nav_menu(array( 'theme_location' =&gt; 'main_menu') ); ?&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;?php if($enableMicroMenu === 'on') : ?&gt;\r\n<\/pre>\n<p><em>(this change will output a static copy of the main menu &#8211; to be displayed only on mobiles)<\/em><\/p>\n<h3>Step 2<\/h3>\n<p>Under\u00a0<em>Mega Menu &gt; Menu Themes\u00a0<\/em>set the Responsive Breakpoint to 991px.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MedicalLink uses JavaScript to dynamically create the mobile menu. This functionality does not work correctly when Max Mega Menu has been enabled for the main menu. To fix the mobile menu: Step 1 Under Appearance &gt; Editor, select &#8216;header.php&#8217; on the right. Find (line ~376): &lt;nav class=&#8221;navbar-collapse collapse&#8221; id=&#8221;pm-main-navigation&#8221;&gt; Replace&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"template-documentation.php","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-13948","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":"MedicalLink uses JavaScript to dynamically create the mobile menu. This functionality does not work correctly when Max Mega Menu has been enabled for the main menu. To fix the mobile menu: Step 1 Under Appearance &gt; Editor, select &#8216;header.php&#8217; on the right. Find (line ~376): &lt;nav class=\"navbar-collapse collapse\" id=\"pm-main-navigation\"&gt; Replace...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/13948","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=13948"}],"version-history":[{"count":0,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/13948\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=13948"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=13948"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=13948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}