• I am using this code to display adsense ads only to search engine visitors and affiliate image ads to direct visitors.

    But I also want it to be ignored by W3TC. So I added mfunc but its not working.

    <!--mfunc-->
    <?php if (function_exists('visitor_from_searchengine')) {
    if (visitor_from_searchengine()) { ?>
    //ADSENSE CODE
    <?php } else { ?>
    //IMAGE ADS
    <?php } } ?>
    <!--/mfunc-->

    http://wordpress.org/plugins/w3-total-cache/

  • The topic ‘MFUNC Implementation Not Working’ is closed to new replies.