Shortcode in PHP
-
I’m trying to put Googlemaps Pro shortcode inside PHP. This is the code I’m using:
<?php echo do_shortcode(‘[put_wpgm id=”‘ . $mapnum . ‘”]’); ?>
Where am I going wrong?
Thanks,
Bob
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Shortcode in PHP’ is closed to new replies.