Support » Plugin: Ad Inserter - Ad Manager & AdSense Ads » removing part of adsense unit

  • Resolved dranilsinghal


    Ad Inserter Plugin removes
    (adsbygoogle = window.adsbygoogle || []).push({});


    (adsbygoogle = window.adsbygoogle || []).push({});

    in posts after initial 10 posts or first page… using infinite scroll in GeneratePress.

    Any solution …

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Spacetime



    the plugin does not remove any code.

    Your theme loads subsequent pages via ajax request, for example

    The pages contains inserted codes as configured in Ad Inserter.

    However, when the posts from the loaded pages are inserted into the homepage, the adsense javascript code seems to be removed. very likely the theme “cleans” the loaded code before adding it to the homepage.

    I suggesto to contact theme authors.

    Thread Starter dranilsinghal


    Thanks dear for quick reply.
    I’ll ask Tom of GeneratePress, then I will mark this as resolved.
    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘removing part of adsense unit’ is closed to new replies.