WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
AdSense ads Not Showing (1 post)

  1. robck
    Member
    Posted 4 years ago #

    I have tried using this function as outlined in the plugin FAQ's to allow my AdSense ads to dynamically load each page load:

    <!--mclude file.php-->
    <?php include_once( ABSPATH . 'file.php' ); ?>
    <!--/mclude-->

    The ads show fine the first time the page is loaded, but if I refresh, the cached page kills all 3 of my AdSense blocks, and all that is shown in the source code (where the AdSense code should be) is:

    <!--mclude-->
    <!--/mclude-->

    I do have Wp Super Cache set to "Half On," and I've tried deactivating other plugins to see if there were any conflicts.

    What am I doing wrong? Why won't the cached pages call on the pages I have my AdSense code plugged into?

    I appreciate all of your help in advance!

    http://wordpress.org/extend/plugins/wp-super-cache/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic