Plugin Author
Damian
(@timersys)
you could by using do_shortcode functions. Eg:
<?php echo do_shortcode(‘[geot country=”Argentina”] Messi is the best! [/geot]’);?>
Premium version include a set of functions to use in PHP. More info about them in https://timersys.com/geotargeting/docs/functions-api/
Hi Damian, awesome plugin!
Please disregard this message. I saw the documentation now.
Thanks
-
This reply was modified 7 years, 7 months ago by jubamad.
The PHP code above didn’t work for me due to the single quote you typed like this ` instead of ‘
Yours: <?php echo do_shortcode(‘[geot country=”Argentina”] Messi is the best! [/geot]’);?>
I changed to
<?php echo do_shortcode(‘[geot country=”Argentina”] Messi is the best! [/geot]’);?>
Then it works.
Cheers
-
This reply was modified 7 years, 7 months ago by jubamad.