{"id":10893,"date":"2016-01-28T10:43:09","date_gmt":"2016-01-28T10:43:09","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/faqs\/theme-integration\/travelify-2\/"},"modified":"2017-03-23T11:42:11","modified_gmt":"2017-03-23T11:42:11","slug":"chester","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/chester\/","title":{"rendered":"Chester (YooThemes)"},"content":{"rendered":"<p>Copy the &#8220;layouts\/header.centered.php&#8221; file to your <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">Child Theme<\/a>.<\/p>\n<p>Find (line 42):<\/p>\n<pre class=\"lang:php decode:true\">&lt;?php echo $this['widgets']-&gt;render('menu'); ?&gt;<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:php decode:true\">&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'main_menu' ) ); ?&gt;<\/pre>\n<p>Go to <em>Mega Menu &gt; Menu Themes<\/em> and insert the following into the Custom Styling area:<\/p>\n<pre class=\"lang:default decode:true \">@include mobile {\r\n    .tm-navbar {\r\n        display: block;\r\n    }\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Copy the &#8220;layouts\/header.centered.php&#8221; file to your Child Theme. Find (line 42): &lt;?php echo $this[&#8216;widgets&#8217;]-&gt;render(&#8216;menu&#8217;); ?&gt; Replace with: &lt;?php wp_nav_menu( array( &#8216;theme_location&#8217; =&gt; &#8216;main_menu&#8217; ) ); ?&gt; Go to Mega Menu &gt; Menu Themes and insert the following into the Custom Styling area: @include mobile { .tm-navbar { display: block; }&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-10893","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":"Copy the &#8220;layouts\/header.centered.php&#8221; file to your Child Theme. Find (line 42): &lt;?php echo $this['widgets']-&gt;render('menu'); ?&gt; Replace with: &lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'main_menu' ) ); ?&gt; Go to Mega Menu &gt; Menu Themes and insert the following into the Custom Styling area: @include mobile { .tm-navbar { display: block; }...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/10893","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=10893"}],"version-history":[{"count":3,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/10893\/revisions"}],"predecessor-version":[{"id":108772,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/10893\/revisions\/108772"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=10893"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=10893"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=10893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}