• Resolved Abemedpibe

    (@abemedpibe)


    Hi everybody

    I have to install a snippet of code right below the opening <body> tag, but my opening bodytag looks like this:
    <body <?php body_class(‘body-class’); ?>>
    Where do I place the snippet of code? If I place it right under the line, it doesn’t work

Viewing 4 replies - 1 through 4 (of 4 total)
  • What kind of code is it?

    Thread Starter Abemedpibe

    (@abemedpibe)

    Hi

    Its a piece of code from buysellads.com

    <!– BuySellAds Ad Code –>
    <script type=”text/javascript”>
    (function(){
    var bsa = document.createElement(‘script’);
    bsa.type = ‘text/javascript’;
    bsa.async = true;
    bsa.src = ‘http://s3.buysellads.com/ac/bsa.js&#8217;;
    (document.getElementsByTagName(‘head’)[0]||document.getElementsByTagName(‘body’)[0]).appendChild(bsa);
    })();
    </script>
    <!– End BuySellAds Ad Code –>

    Hi based on your original post you are placing the code snippet in the right place. Do you have a website url with the snippet in place? If so you can view source and confirm that the above code is in the body tag.

    Thread Starter Abemedpibe

    (@abemedpibe)

    Ok, thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Code below opening body tag’ is closed to new replies.