Tagged: x
-
AuthorPosts
-
April 22, 2016 at 3:42 am #894988
eggibParticipantHello.
I do not know what I did, but I have some <> showing on top of all Pages.. I didn’t figure out how to eliminate this. Hope you could help me
is my site.Thanks
EkramApril 22, 2016 at 7:35 am #895265
John EzraMemberHi Ekram,
Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
April 22, 2016 at 7:40 am #895269
eggibParticipantThis reply has been marked as private.April 23, 2016 at 12:24 am #896264
FriechModeratorHi There,
Login to your server using your FTP credentials. Navigate \wp-content\themes\x-child\ directory and edit the functions.php file. Look for this comment.
<<!-- Facebook Pixel Code -->
and
<!-- End Facebook Pixel Code -->>Update that to:
/*Facebook Pixel Code*/
and
/*End Facebook Pixel Code*/I can do this in Design > Editor, but I’m more comfortable doing this with FTP credentials.
If this does not work. Please do a testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Hope it helps, Cheers!
April 23, 2016 at 6:08 am #896536
eggibParticipantThis reply has been marked as private.April 24, 2016 at 5:20 am #897308
Rue NelModeratorHello There,
Thanks for writing in! The code that appeared on the page because you have inserted an invalid code. Please have your code updated and use this instead:
// Add scripts to wp_head() function head_scripts() { ?> <!-- 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', '483700991839490'); fbq('track', "PageView") fbq('track', 'Lead');;</script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=483700991839490&ev=PageView&noscript=1" /></noscript> <!-- End Facebook Pixel Code --> <?php } add_action( 'wp_head', 'head_scripts' );Please let us know if this works out for you.
April 24, 2016 at 6:04 am #897327
eggibParticipantThank you 🙂 That worked perfectly!!!!
Great ! 🙂April 25, 2016 at 12:10 am #898078
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-894988 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
