Viewing 4 replies - 1 through 4 (of 4 total)
  • If there is not a specific reason to do this, I would continue with the plugin. It can be done by adding code to the Header and Footer php files but as soon as you upgrade the theme you will have to redo it again.

    I do it, but I usually end up regretting it.

    Thread Starter imranf255

    (@imranf255)

    Thank for the reply.

    I have noticed that my site become a bit slow after installation of plugin and in addition to this i have read comments of different users of “easy adsense” that developer of this plugin take some share in revenue without your knowledge (I am not sure it is true or not).

    I have created a Child Theme so I can do changes in it and it will not affect upgrade,if any, i think.

    Well this is what EasyAdsense inserts into your page so I dont see any issues there as long as that is your Pub/Slot??

    <!–
    <!– Easy AdSense V7.21 –>
    <!– [leadin: 1 urCount: 0 urMax: 0] –>
    <div class=”ezAdsense adsense adsense-leadin” style=”text-align:center;margin:12px;”><script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– 168 x 60 –>
    <ins class=”adsbygoogle”
    style=”display:inline-block;width:468px;height:60px”
    data-ad-client=”ca-pub-3275130091698977″
    data-ad-slot=”7391268249″></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script></div>
    <!– Easy AdSense V7.21 –>
    <p><iframe src=”//player.vimeo.com/video/85593739″ width=”500″ height=”280″ frameborder=”0″ webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></p>

    <!– Easy AdSense V7.21 –>
    <!– [leadout: 2 urCount: 1 urMax: 0] –>
    <div class=”ezAdsense adsense adsense-leadout” style=”text-align:center;margin:12px;”><script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
    <!– 336×280 –>
    <ins class=”adsbygoogle”
    style=”display:inline-block;width:336px;height:280px”
    data-ad-client=”ca-pub-3275130091698977″
    data-ad-slot=”2057363041″></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script></div>
    <!– Easy AdSense V7.21 –>
    –>

    Thread Starter imranf255

    (@imranf255)

    Thanks

    But I still want to avoid plugin, if you can help.

    I’ll do the changes in child theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Repeat code (adsense) in all posts and pages after heading and at end of post’ is closed to new replies.