Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #894988
    eggib
    Participant

    Hello.
    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

    Coaching


    is my site.

    Thanks
    Ekram

    #895265
    John Ezra
    Member

    Hi 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 credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #895269
    eggib
    Participant
    This reply has been marked as private.
    #896264
    Friech
    Moderator

    Hi 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!

    #896536
    eggib
    Participant
    This reply has been marked as private.
    #897308
    Rue Nel
    Moderator

    Hello 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.

    #897327
    eggib
    Participant

    Thank you 🙂 That worked perfectly!!!!
    Great ! 🙂

    #898078
    Rupok
    Member

    You 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!

  • <script> jQuery(function($){ $("#no-reply-894988 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>