How to Properly Add Google AdSense to Your WordPress Site

How to Properly Add Google AdSense to Your WordPress Site

How to Properly Add Google AdSense to Your WordPress Site

Without close button

<!-- Start scrollUp  -->

    <div id="return-to-top">

        <span>Top</span>

    </div>

    <!-- End scrollUp  -->

 

    <style>

.Desktop-Sticky {

    position:fixed;

    bottom:20px;

               z-index:9999;

               text-align:center;

}

</style>

 

<div class="Desktop-Sticky" style="width:100%;height:90px;">

Google Adsense Code

</div>

<!-- AD - RW - Footer ad - Desktop / mobile - (UDate: 2020) End-->

 

 

With close button

<script type='text/javascript'>

$(document).ready(function() {$('img#closed').click(function(){$('#bl_banner').hide(90);});});

</script>

<div id='fixedban' style='width:100%;margin:auto;text-align:center;float:none;overflow:hidden;display:scroll;position:fixed;bottom:0;z-index:999;-webkit-transform:translateZ(0);'>

<div>

<a id='close-fixedban' onclick='document.getElementById("fixedban").style.display = "none";' style='cursor:pointer;'><img alt='close' src='https://www.rakeshtechsolutions.com/assets/img/btn_close.gif' title='close button' style='vertical-align:middle;'/></a></div>

<div style='text-align:center;display:block;max-width:728px;height:auto;overflow:hidden;margin:auto'>

 

Google Adsense Code

Top
close

Visitor Counter = visitor counter