{"id":337,"date":"2011-01-23T23:03:01","date_gmt":"2011-01-23T23:03:01","guid":{"rendered":"http:\/\/gr-01.de\/whitepapers.grafik-und-redaktion.de\/?p=337"},"modified":"2013-06-03T03:44:23","modified_gmt":"2013-06-03T01:44:23","slug":"how-to-move-page-menu-from-access-to-new-div-above-header","status":"publish","type":"post","link":"https:\/\/whitepapers.grafik-und-redaktion.de\/?p=337","title":{"rendered":"How to move page menu from #access to new div above header"},"content":{"rendered":"<p>Just add to your child theme&#8217;s functions.php, no need to mess around w\/ the core thematic files&#8230; that is the beauty of the whole setup.<\/p>\n<p>This will delete the thematic access from its current hook.<\/p>\n<p>[php]function remove_access() {<br \/>\nremove_action(&#8218;thematic_header&#8216;,&#8217;thematic_access&#8216;,9);<br \/>\n}<br \/>\nadd_action(&#8218;init&#8216;,&#8217;remove_access&#8216;);[\/php]<\/p>\n<p>I always check this diagram when I need to figure out where stuff goes: <a href=\"http:\/\/bluemandala.com\/thematic\/thematic-structure.html\">bluemandala.com\/thematic\/thematic-structure.html<\/a><\/p>\n<p>To put it above the header div then you could add it to thematic_aboveheader() hook.<\/p>\n<p>[php]add_action(&#8218;thematic_aboveheader&#8216;,&#8217;thematic_access&#8216;);[\/php]<\/p>\n<p>Or to put it inside the header but before the branding, I think you&#8217;d need to move thematic_brandingopen() from hook 1 to hook 2 (see that diagram again).<\/p>\n<p>This will delete the thematic access and brandingopen from their current hooks.<\/p>\n<p>[php]function remove_defaults() {<br \/>\nremove_action(&#8218;thematic_header&#8216;,&#8217;thematic_brandingopen,1);<br \/>\nremove_action(&#8218;thematic_header&#8216;,&#8217;thematic_access&#8216;,9);<br \/>\n}<br \/>\nadd_action(&#8218;init&#8216;,&#8217;remove_defaults&#8216;);<\/p>\n<p>add_action(&#8218;thematic_header&#8216;,&#8217;thematic_access&#8216;,1);<br \/>\nadd_action(&#8218;thematic_header&#8216;,&#8217;thematic_brandingopen&#8216;,2);[\/php]<\/p>\n<p>Quelle: <a href=\"http:\/\/themeshaper.com\/forums\/topic\/move-header-above-wrapper-in-functionsphp#post-12588\">ThemeShaper Forums<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just add to your child theme&#8217;s functions.php, no need to mess around w\/ the core thematic files&#8230; that is the beauty of the whole setup. This will delete the thematic access from its current hook. [php]function remove_access() { remove_action(&#8218;thematic_header&#8216;,&#8217;thematic_access&#8216;,9); } &hellip; <a href=\"https:\/\/whitepapers.grafik-und-redaktion.de\/?p=337\">Weiterlesen &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"_links":{"self":[{"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/posts\/337"}],"collection":[{"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=337"}],"version-history":[{"count":5,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/posts\/337\/revisions"}],"predecessor-version":[{"id":3324,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=\/wp\/v2\/posts\/337\/revisions\/3324"}],"wp:attachment":[{"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/whitepapers.grafik-und-redaktion.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}