• Experience

    (@todaypoliticsng)


    I updated my ad inserter plugin to the latest version (2.7.11) and the end part of my ad code was visible at the front end.

    If I rollback the ad inserter plugin to version 2.7.10, the code disappears.

    What could be responsible for this? Below is how the ad code looks like.

    <?php 
    	if( aicp_can_see_ads() ) { // This part will show ads to your non-banned visitors
    		$adCode = '<div class="aicp"><!-- Don\'t forget to add this div with aicp class -->
    		<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- Header -->
    <ins class="adsbygoogle"
         style="display:block"
         data-ad-client="ca-pub-0123456789xxxxxx"
         data-ad-slot="0987654321"
         data-ad-format="auto"
         data-full-width-responsive="true"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    		</div><!-- end of the aicp div -->';
    		echo $adCode;
    	}
    ?>
Viewing 15 replies - 1 through 15 (of 26 total)
Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Some ACIP codes visible after Ad Inserter latest update’ is closed to new replies.