• Resolved tasty.donuts

    (@tastydonuts)


    Would there be any way to get the Javascript for the AdSense code to load asynchonously? It’s not displaying on our homepage (triggla.tv) and I think that may be because there are ads in the postloop but they are hidden on the homepage via CSS.

    Is certain PHP needed to keep ads in posts from conflicting on your homepage even if you hide your blogroll with CSS?

Viewing 1 replies (of 1 total)
  • Thread Starter tasty.donuts

    (@tastydonuts)

    So it turns out that even if you are not displaying the blog roll on your homepage through your theme and CSS if you have ads in your loop they will call the google js service and because you’re limited to three comtent ads per page it will mess up all of the other (normally displaying) ads on your blog page.

    The solution is to add custom PHP to the loop so that the ads are only generated by the PHP on the single post page, and not the home/blog pages!!

Viewing 1 replies (of 1 total)
  • The topic ‘AdSense JavaScript Interference’ is closed to new replies.