Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1051491
    MaxVideo007
    Participant

    Hello,

    My website is http://www.Proathlos.com and I have my Facebook Pixel but I don’t know where to place the code?

    Please help.

    Thanks!

    #1051906
    Prasant Rai
    Moderator

    Hello Max,

    Thanks for writing in!

    Please add the code below in your child theme functions.php file.

    // Add scripts to wp_head()
    function head_scripts() { ?>
        <!-- Your FB Pixel Script goes here -->
    <?php }
    add_action( 'wp_head', 'head_scripts' );

    Let us know how it goes.

    Thanks.

    #1054734
    MaxVideo007
    Participant

    How & where do I access my child theme functions.php file?

    #1054751
    Rahul
    Moderator

    Hey There,

    Can you confirm that you already have a child theme setup?

    If not, you can set it up by following this guide : https://community.theme.co/kb/how-to-setup-child-themes/

    Thanks

    #1054924
    MaxVideo007
    Participant

    Okay I’ll set that up. But first, if I setup the child theme will it erase my website?

    #1054941
    Nico
    Moderator

    Hi There,

    If you will child theme nothing will happen unless you will add customization in the child thme.

    For more information: https://community.theme.co/kb/customization-best-practices/

    Hope it helps.

    Thanks.

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