• jgsecure

    (@jgsecure)


    link

    I copied this html right from pay pal bill me later. i keep pasting it in the html box not sure if this is right but cannot get add to show up on website. please help. Thank you
    here is the code-

    bill me later ad
    <script type=”text/javascript” data-pp-pubid=”9b7507be95″ data-pp-placementtype=”280×280″> (function (d, t) {
    “use strict”;
    var s = d.getElementsByTagName(t)[0], n = d.createElement(t);
    n.src = “//paypal.adtag.where.com/merchant.js”;
    s.parentNode.insertBefore(n, s);
    }(document, “script”));
    </script>

Viewing 1 replies (of 1 total)
  • catacaustic

    (@catacaustic)

    Pasting Javscript blocks like that into the visual editor, even in ‘Text’ mode don’t work. WordPress removes all <script> tags as a security measure so that others can’t post anything like that on your site.

    The “correct” way to do this is to insert the add code into your template file (or files depending on where it needs to go). You should do this using a child theme in case any future updates over-write your change.

Viewing 1 replies (of 1 total)

The topic ‘Ad not working’ is closed to new replies.