Reply To: Shortcode in bubble

Home Forums MapPress Support Shortcode in bubble Reply To: Shortcode in bubble


You can modify the template file map_poi.php to show whatever you like. Try using do_shortcode() to execute any shortcodes in the poi body. I think this would work:

<div class='mapp-body'>
<?php echo $poi->get_thumbnail(array('class' => 'mapp-thumb')); ?>
<?php echo do_shortcode($poi->get_body()); ?>

This may not work for all shortcodes (such as those that need to load javascripts on the page).