Replies: 0
I use a geolocate shotcode and comment it out this way:
<?php if (!defined('W3TC_DYNAMIC_SECURITY')) { define('W3TC_DYNAMIC_SECURITY', md5(rand(0,999))); } ?>
<!--mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> -->
echo do_shortcode('[wt_geotargeting get="city"]');
<!--/mfunc <?php echo W3TC_DYNAMIC_SECURITY; ?> -->
Weirdly it doesn’t work on 10% of the pages on my site, it displays “echo do_shortcode('[wt_geotargeting get="city"]');
” instead of the city name
Do you have any idea?