• Resolved dranilsinghal

    (@dranilsinghal)


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

    from

    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>

    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

    (@spacetime)

    Hello,

    the plugin does not remove any code.

    Your theme loads subsequent pages via ajax request, for example
    https://healthnewstrack.com/page/2/
    https://healthnewstrack.com/page/3/

    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

    (@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.