• Resolved catokeefe

    (@cokeefe45)


    I am trying to put ads on my website which have javascript. They will not show up, though. I have used a plugin, but that does not work either. I have entered the code as text in a post and it does not show up there either.
    I have disabled all plugins. Did not help. I have tried different themes. Did not help.

    I have another website which is also a WordPress platform, and it works fine there; the javascript ad works using a plugin or by adding in text view in a post. But not on this other website.

    So, I called the hosting company, which hosts both my sites, but they said it was not from that end.

    I also tried adding javascript to my header and footer. Nothing happened.

    I am out of ideas on what to do.

    My site is not finished, but I will take it out of maintenance mode for viewing.

    Btw: Ads based on html only, work fine.

    • This topic was modified 7 years, 1 month ago by catokeefe.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    See if info in this cidex can point you in the right direction:
    https://codex.www.ads-software.com/Using_Javascript

    • This reply was modified 7 years, 1 month ago by t-p.
    Thread Starter catokeefe

    (@cokeefe45)

    It doesn’t work. I put this before the php in header:
    <script type=”text/javascript” src=”/assets/js/supermag-custom.js”></script>

    my javascript is in the js folder which is in the assets folder.

    I don’t know anything about JS. I don’t have this problem at my other site.

    Thread Starter catokeefe

    (@cokeefe45)

    I just tried my site in IE and my ad shows up there (I had to click a button to “show all content”). So, I don’t know why it doesn’t show up in Firefox and Chrome.

    • This reply was modified 7 years, 1 month ago by catokeefe.
    Thread Starter catokeefe

    (@cokeefe45)

    I have resolved this. It comes down to the http versus https in your links. Anyways, all browsers are showing my ads now.

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Javascript not working for ads’ is closed to new replies.