Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #710651

    Hi,

    This code should be placed between <head> and </head>
    Where shall insert it?

    Thanks
    Charlotte
    http://www.airlinestaffrates.com

    <!– 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’,’https://connect.facebook.net/en_US/fbevents.js&#8217;);
    fbq(‘init’, ‘1832225937019090’);
    fbq(‘track’, ‘PageView’);
    </script>
    <noscript><img height=”1″ width=”1″ style=”display:none”
    src=”https://www.facebook.com/tr?id=1832225937019090&ev=PageView&noscript=1&#8243;
    /></noscript>
    <!– DO NOT MODIFY –>
    <!– End Facebook Pixel Code –>

    #711262

    Hey Charlotte :)

    Please add following code to Functions.php file in Appearance > Editor

    add_action('wp_head','ava_custom_header_code');
    function ava_custom_header_code() {
    ?>
    // Your code goes here
    <?php 
    }

    Best regards,
    Yigit

    #711676

    Thanks Yigit :)

    #711694

    Hey!

    You are welcome Charlotte! Let us know if you have any other questions or issues :)

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Adding code to and’ is closed to new replies.