Dynamic shortcode using data from our API
-
Hey, we have created our own plugin that connects to our API and pulls in data to a WordPress site.
Wondering if it is possible to use your plugin to do something like this, and have it create a map.
<?php echo do_shortcode('[codepeople-post-map name="'.$event->location->name.'" center="'.$event->location->position.'" width="100% height="300"]'); ?>
$event->location->name = Venue Name;
$event->location->position = 51.044308,-114.0630914You can view our plugin docs here https://github.com/showpass/showpass-wordpress-plugin
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dynamic shortcode using data from our API’ is closed to new replies.