Hi @jacquelinetropp
Can you share the link to the page where you the PHP code so I can check what could be missing?
Seems the shortcode works, but not when you try to render it with PHP.
Are you applying it to a custom template page? Make sure it includes the wp_footer function, since the plugins needs it to load the assets.
Greetings, Carlos
Hi,
I am developing it on localserver so I am not able to share the page. I’ve tried both ways of doing <?php echo do_shortcode(“[your_shortcode]”); ?> and then putting it on the page and instead using <?php the_content() ?> to pull it from the page and that doesnt work either. If I put it on it’s own page and put the shortcode there it works. I think I am missing the wp_footer function but I’m not sure what code to put there.
Your page should either contain
<?php wp_footer(); ?>
Or include a file that does it
Usually theme files have this function in the footer.php file.
Check the source page of your page and see if you see .js and .css files from the plugin folder. If you don’t see any files, that’s the issue.
If you see the files and the map still doesn’t display, then most likely it’s a javascript conflict with something else that exists on your page:
Using Your Browser to Diagnose JavaScript Errors