{"id":1907,"date":"2015-06-16T08:05:32","date_gmt":"2015-06-16T08:05:32","guid":{"rendered":"https:\/\/www.anagram.at\/en\/move-navigation-menu-into-the-header-of-the-genesis-framework\/"},"modified":"2015-06-16T08:05:32","modified_gmt":"2015-06-16T08:05:32","slug":"move-navigation-menu-into-the-header-of-the-genesis-framework","status":"publish","type":"post","link":"https:\/\/www.anagram.at\/en\/move-navigation-menu-into-the-header-of-the-genesis-framework\/","title":{"rendered":"Move Navigation menu into the header of the Genesis Framework"},"content":{"rendered":"<p>This article explains how to move the navigation menus into the header of the genesis framework.<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php \r\n\/* remove the opening php after putting into your themes functions.php file *\/ \r\n\r\n\/** remove secondary nav menu *\/\r\nremove_action( 'genesis_after_header', 'genesis_do_subnav' );\r\n\/** add secondary nav menu before the optional aside, increasing this value to 11 will put it afterwards \r\n*\/\r\nadd_action( 'genesis_header', 'genesis_do_subnav', 9 );\r\n\r\n\/* remove the primary menu \/* \r\nremove_action( 'genesis_after_header', 'genesis_do_nav' );\r\n\/* and add it after the subnav and after the optional sidebar  *\/ \r\nadd_action( 'genesis_header', 'genesis_do_nav', 11);\r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article explains how to move the navigation menus into the header of the genesis framework. &lt;?php \/* remove the opening php after putting into your themes functions.php file *\/ \/** remove secondary nav menu *\/ remove_action( &#8216;genesis_after_header&#8217;, &#8216;genesis_do_subnav&#8217; ); \/** add secondary nav menu before the optional aside, increasing this value to 11 will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":""},"categories":[88],"tags":[91,92,93],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Harald","author_link":"https:\/\/www.anagram.at\/en\/author\/admin\/"},"_links":{"self":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/posts\/1907"}],"collection":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/comments?post=1907"}],"version-history":[{"count":0,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/posts\/1907\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/media?parent=1907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/categories?post=1907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/tags?post=1907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}