<?php
if( aicp_can_see_ads() ) {
echo ‘<div class=”aicp”>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– C IPTV – Bannière –>
<ins class=”adsbygoogle”
style=”display:block”
data-ad-client=”ca-pub-xxxxxxxxxxxxxxxxx”
data-ad-slot=”xxxxxxxxxxxxxx”
data-ad-format=”auto”>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>’;
} else {
echo ‘PUB’;
}
?>
Can you share your page link where I can see it in action? Also, are you using any caching plugin of any sorts? If you do, then disable it.
Hello
Sorry for late
Thank you very much for the plugin.
it works now. 🙂 After disabling the cahe plugin.
Can I install the plugin in multiple sites?
Is there a traffic limit problem?
Does the code work on another plugin other than Ad Inserter like Better Ads ??
Hi,
yes, it works on multiple pages. If you are not using the country level blocking then there should not be an issue with a limit.
Regarding your last question, check: https://ww.wp.xz.cn/support/topic/does-this-work-with-ad-inserter-plugin/
can i use cache plugin after i set up AICP?
because i am using WP fast cache plugin for faster page loading.
@cow9599 AICP doesn’t work with any cache plugin because to work AICP needs PHP to execute the page and make calculations instead to delivering the page from some cache