AdRotate Sidebar Widget and W3 Total Cache? (5 posts)

  1. boborg
    Posted 4 years ago #

    Can this be done?

    I have <?php echo adrotate_group(2); ?> working in the sidebar using the PHP Code widget plugin but I have not had any success using the fragmented caching of W3 Total Cache with this.

    <!-- mfunc echo adrotate_banner('3'); --><!-- /mfunc --> as described here throws an error preventing the sidebar from loading.

  2. boborg
    Posted 4 years ago #

    Or is Google Adserving service the way to go?

  3. Arnan de Gans
    Posted 4 years ago #

    Both work. I'm not sure about the mfunc or how it's used, but it does work with AdRotate, a bunch of people use AdRotate like that.

  4. Frederick Townes
    Posted 4 years ago #

    Ideally you'll want a JS-based implementation for functionality like this.

  5. lin
    Posted 3 years ago #

    Hello everyone, I had the same problem using AdRotate and W3 Total Cache. I found a solution in using JQUERY Cycle - a "How To" has been released on my blog:

    How To use the Banner-Plugin AdRotate together with W3 Total Cache's Page-Cache (W3TC)

Topic Closed

This topic has been closed to new replies.

About this Topic