{"id":2140,"date":"2021-01-15T14:12:28","date_gmt":"2021-01-15T14:12:28","guid":{"rendered":"https:\/\/grooni.com\/docs\/groovy-menu\/?page_id=2140"},"modified":"2021-01-15T14:12:28","modified_gmt":"2021-01-15T14:12:28","slug":"phlox","status":"publish","type":"page","link":"https:\/\/grooni.com\/docs\/groovy-menu\/theme-integration\/phlox\/","title":{"rendered":"Phlox"},"content":{"rendered":"<p>Add this code into <code>function.php<\/code> of your <a href=\"https:\/\/developer.wordpress.org\/themes\/advanced-topics\/child-themes\/\">child theme<\/a>.<\/p>\n<blockquote>\n<p>Please make all changes to the child theme files, and do not add the code directly to the theme files, otherwise after updating the theme your fixes will be lost<\/p>\n<\/blockquote>\n<p><code>function.php<\/code><\/p>\n<pre><code>\/\/ ------------------------------------------------------\n\/\/         Groovy Menu plugin integration\n\/\/ ------------------------------------------------------\nif ( ! function_exists( 'gm_child_show_groovy_menu' ) ) {\n\tfunction gm_child_show_groovy_menu() {\n\t\tif ( function_exists( 'groovy_menu' ) ) {\n\t\t\tgroovy_menu();\n\n\t\t\t\/\/ Remove theme legacy top header section\n\t\t\tremove_action( 'auxin_after_inner_body_open', 'auxin_the_top_header_section', 4 );\n\n\t\t\t\/\/ Remove theme legacy main header section\n\t\t\tremove_action( 'auxin_after_inner_body_open', 'auxin_the_main_header_section', 4 );\n\t\t}\n\t}\n}\n\nadd_action( 'auxin_after_body_open', 'gm_child_show_groovy_menu', 1 );\n\n<\/code><\/pre>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"alert alert-warning\"><strong>Note:<\/strong> You can find the child theme for the Phlox Theme in the <code>Groovy Menu &gt; Integration section<\/code><\/div>","protected":false},"excerpt":{"rendered":"<p>Add this code into function.php of your child theme. Please make all changes to the child theme files, and do &hellip; <a href=\"https:\/\/grooni.com\/docs\/groovy-menu\/theme-integration\/phlox\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":2075,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/2140"}],"collection":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/comments?post=2140"}],"version-history":[{"count":0,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/2140\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/pages\/2075"}],"wp:attachment":[{"href":"https:\/\/grooni.com\/docs\/groovy-menu\/wp-json\/wp\/v2\/media?parent=2140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}