WP Super Cache Plugin ShortCode mfunc
-
Hi,
2 days i’m trying to use mfunc without success.I’m using it inside my plugin developpement.
I’m using shortcode to make it appear in user-view.
Here is my code:
<?php function XXX_get($atts, $content = null) { ?> <!--MFUNC return rand() --> <?php return rand(); ?> <!--/mfunc --> <?php } add_shortcode('XXX', 'XXX_get'); ?>
My problem is, it returns always the same number.
Never different.Where is my problem ?
Thanks
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘WP Super Cache Plugin ShortCode mfunc’ is closed to new replies.