{"id":21516,"date":"2016-07-18T12:33:21","date_gmt":"2016-07-18T11:33:21","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/faqs\/theme-integration\/medicallink-copy\/"},"modified":"2017-11-29T10:31:34","modified_gmt":"2017-11-29T10:31:34","slug":"wen-business","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/wen-business\/","title":{"rendered":"WEN Business"},"content":{"rendered":"<h3>Step 1 &#8211; Remove Residual Menu Styling<\/h3>\n<p>In your <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">Child Theme&#8217;s<\/a> functions.php file, insert the following function:<\/p>\n<pre class=\"lang:php decode:true\">  \/**\r\n   * Site branding\r\n   *\r\n   * @since  WEN Business 1.0\r\n   *\/\r\n  function wen_business_site_branding() {\r\n\r\n    ?&gt;\r\n    &lt;div class=\"site-branding\"&gt;\r\n      &lt;h1 class=\"site-title\"&gt;&lt;a href=\"&lt;?php echo esc_url( home_url( '\/' ) ); ?&gt;\" rel=\"home\"&gt;\r\n        &lt;?php if ( function_exists( 'the_custom_logo' ) &amp;&amp; has_custom_logo() ) : ?&gt;\r\n          &lt;?php the_custom_logo(); ?&gt;\r\n      &lt;?php else : ?&gt;\r\n          &lt;?php\r\n            $site_logo = wen_business_get_option( 'site_logo' );\r\n           ?&gt;\r\n           &lt;?php if ( ! empty( $site_logo ) ) : ?&gt;\r\n            &lt;img src=\"&lt;?php echo esc_url( $site_logo ); ?&gt;\" alt=\"&lt;?php echo esc_attr( get_bloginfo( 'name' ) ); ?&gt;\" \/&gt;\r\n           &lt;?php else : ?&gt;\r\n            &lt;?php bloginfo( 'name' ); ?&gt;\r\n           &lt;?php endif; ?&gt;\r\n\r\n      &lt;?php endif; ?&gt;\r\n\r\n      &lt;\/a&gt;&lt;\/h1&gt;\r\n      &lt;?php $show_tagline = wen_business_get_option( 'show_tagline' ); ?&gt;\r\n       &lt;?php if ( 1 == $show_tagline ) : ?&gt;\r\n        &lt;h2 class=\"site-description\"&gt;&lt;?php bloginfo( 'description' ); ?&gt;&lt;\/h2&gt;\r\n       &lt;?php endif ?&gt;\r\n    &lt;\/div&gt;&lt;!-- .site-branding --&gt;\r\n        &lt;?php\r\n          wp_nav_menu( array(\r\n            'theme_location'  =&gt; 'primary' ,\r\n            'container'       =&gt; 'nav' ,\r\n            'container_class' =&gt; 'main-navigation' ,\r\n            )\r\n          );\r\n        ?&gt;\r\n    &lt;?php\r\n\r\n  }<\/pre>\n<p><strong>Important<\/strong>: Extra care must be taken when editing PHP files. Take a backup of the file first and make sure the code you paste is exactly the same as it is here.<\/p>\n<h3>Step 2 &#8211; Remove duplicate mobile menu button<\/h3>\n<p>Under\u00a0<em>Appearance &gt; Customize &gt; Additional CSS<\/em>\u00a0insert the following:<\/p>\n<pre class=\"lang:default decode:true\">#mobile-trigger {\r\n    display: none !important;\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Step 1 &#8211; Remove Residual Menu Styling In your Child Theme&#8217;s functions.php file, insert the following function: \/** * Site branding * * @since WEN Business 1.0 *\/ function wen_business_site_branding() { ?&gt; &lt;div class=&#8221;site-branding&#8221;&gt; &lt;h1 class=&#8221;site-title&#8221;&gt;&lt;a href=&#8221;&lt;?php echo esc_url( home_url( &#8216;\/&#8217; ) ); ?&gt;&#8221; rel=&#8221;home&#8221;&gt; &lt;?php if ( function_exists( &#8216;the_custom_logo&#8217;&#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-21516","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":"Step 1 &#8211; Remove Residual Menu Styling In your Child Theme&#8217;s functions.php file, insert the following function: \/** * Site branding * * @since WEN Business 1.0 *\/ function wen_business_site_branding() { ?&gt; &lt;div class=\"site-branding\"&gt; &lt;h1 class=\"site-title\"&gt;&lt;a href=\"&lt;?php echo esc_url( home_url( '\/' ) ); ?&gt;\" rel=\"home\"&gt; &lt;?php if ( function_exists( 'the_custom_logo'...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/21516","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=21516"}],"version-history":[{"count":2,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/21516\/revisions"}],"predecessor-version":[{"id":133981,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/21516\/revisions\/133981"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=21516"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=21516"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=21516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}