WordPress.org

Support

Support » Plugins and Hacks » [Plugin: AdRotate] Using it with W3 Total Cache?

[Plugin: AdRotate] Using it with W3 Total Cache?

  • W3 Total Cache’s FAQ on fragment caching gives these examples:

    * Example 1:
    <!– mfunc any PHP code –><!– /mfunc –>
    * Example 2:
    <!– mfunc –>any PHP code<!– /mfunc –>
    * Example 3:
    <!–MFUNC –>
    echo rand();
    <!–/mfunc –>
    * Example 4:
    <!– mclude path/to/file.php –><!– /mclude –>
    * Example 5:
    <!– mclude –>path/to/file.php<!– /mclude –>

    However when I use one of the above examples with my php code from AdRotate it won’t work.

    This is how I put my php code into the examples above:

    Example 1:
    <!– mfunc <?php echo adrotate_banner(‘2’); ?> –><!– /mfunc –>
    Example 2:
    <!– mfunc –><?php echo adrotate_banner(‘2’); ?><!– /mfunc –>

    What am I doing wrong?

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: AdRotate] Using it with W3 Total Cache?’ is closed to new replies.