mfunc doesn't work
-
mfunc doesn’t work. You use a secret code only for a “mfunc”. And not for a closing “/mfunc”. Now I turned off W3 Total Cache support and use next code instead of AdRotate widget:
<!– mfunc secret_code –>
echo adrotate_group(2);
<!– /mfunc secret_code –>For a standard Text widget it need to remove line breaks to prevent an eval error. So it will looks like:
<!– mfunc secret_code –>echo adrotate_group(2);<!– /mfunc secret_code –>Also when mfunc doesn’t work impressions work for the dynamic mode only. For the standard mode impressions count one time (before a page will be cached). With the mentioned above solution mfunc and impressions work fine.
AdRotate 3.14 free.
WordPress 4.3.1Regards, Talgat
- The topic ‘mfunc doesn't work’ is closed to new replies.