Map and Ajax
-
Hello,
first of all thank you for the great plugin.
I try to use your plugin on a site, which loads posts via ajax. But the map is not showing.
Here is what i did so far:
I entered the short code in the post, but it returns empty.
I also tried to execute the short code in my template by:
<?php echo do_shortcode(‘[google_maps id=”884″]’); ?>
No success.Also the scripttag, which is inserted by the plugin is empty.
<script type=”text/javascript”>/* <![CDATA[ */var gmb_data = [];/* ]]> */</script>I tried the shortcode on another site, which isn’t loaded via ajax and it works.
Do I have to reinitiate the plugin after the Ajax call? Or what am I doing wrong?
Thank you
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Map and Ajax’ is closed to new replies.