Tagged: x
-
AuthorPosts
-
April 14, 2016 at 8:43 am #882235
VelocityWebBlockedThis has just happened and I don’t know why
April 14, 2016 at 11:09 am #882531
VelocityWebBlockedhow to fix a Navigation Menu that is not displaying correctly
April 14, 2016 at 5:30 pm #883198
LelyModeratorHi There,
The theme might be corrupted. Some CSS style is not available. Try reinstalling the theme again.
Please also remove the content of your Customizer’s JS code. It is causing some errors. When adding code inside Customizer > JS, script tag is not necessary. Remove the instance of this<script>and this</script>. Then meta name shouldn’t be inside the Customizer JS. It should be added in the header via functions.php file.Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then copy the following code inside your child theme’s functions.php file:
function custom_head_code() { ?> <meta name="msvalidate.01" content="40B7B50722A2E2C70A87B4809D88BF16" /> <meta name="msvalidate.01" content="B9C49EB1943AA7BD26C6303AC51959DA" /> <meta name="p:domain_verify" content="6131a81709a5be5ec0779b4faaa19e4b"/> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=610394055768249&ev=PageView&noscript=1"/></noscript> <meta name="p:domain_verify" content="6131a81709a5be5ec0779b4faaa19e4b"/> <meta name="bitly-verification" content="42cb88fea74b"/> <meta name="norton-safeweb-site-verification" content="efg20d2txtrvc7n5dx4qxy365gm8r77juk1fk4okabeyh924venf6coyn3cguq3s8rvlywgux06e1xmgn5f08g-2c23fak38cyqy-2r4a-hjufl1v6y1ds3ll2lx11hj"/> <meta name="google-site-verification" content="QPkq8INL9ZVe-MBVyJXkl7OhMAWuQGuM-XuJX78nUQk"/> <meta name="p:domain_verify" content="6131a81709a5be5ec0779b4faaa19e4b"/> <meta name="google-site-verification" content="kZkQbpxx1bgGMZoeFTOwmx7mJXPhpPG1zs1P4FlU57c"/> <meta name="msvalidate.01" content="B9C49EB1943AA7BD26C6303AC51959DA"/> <meta name="google-site-verification" content="kZkQbpxx1bgGMZoeFTOwmx7mJXPhpPG1zs1P4FlU57c"/> <!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','//connect.facebook.net/en_US/fbevents.js'); fbq('init', '610394055768249'); fbq('track', "PageView");</script> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-TLVPSZ" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-TLVPSZ');</script> <?php } add_action( 'wp_head', 'custom_head_code' );That is the best way of implementing code on the header.
Hope this helps.April 14, 2016 at 10:40 pm #883522
VelocityWebBlockedThanks that worked. but when I removed the code from the JS section but I dont know how to add it back into the php file
where do I add this code? I keep crashing the websiteApril 15, 2016 at 3:01 am #883854
VelocityWebBlockedI got hold of Bluehost support and they said they would not support the html code in this file?
What am I supposed to do? Is there a plug-in I can use to input this code in?
April 15, 2016 at 5:04 am #884019
Paul RModeratorHi,
You need to add the code in your functions.php file after this line.
// Additional Functions
// =============================================================================Thanks
April 15, 2016 at 6:15 am #884117
VelocityWebBlockedOk that worked. Fantastic!, thanks for your help.
April 15, 2016 at 5:00 pm #884932
RadModeratorYou’re so much welcome!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-882235 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
