G’day g00s3m4n,
Gantry huh? That theme’s come up here before. Go complain to the developers, after applying the fix in this support ticket:
https://wordpress.org/support/topic/blank-space-where-map-should-be?replies=12#post-4869088
cheers,
Ross
Hi,
One of the Gantry devs here. I agree that Gantry 4 had some stronger and weaker sides and some plugins required additional fixes, but as far as g00s3m4n says it’s about Gantry 5 and Hydrogen theme.
Gantry 5 is way more compatible with script loading and plugins than Gantry 4 ever was. I tried the Flexible Map plugin with this shortcode :
[flexiblemap address="10 downing street london uk"]
and seems to be working fine in the Hydrogen theme – https://monosnap.com/file/7krsK0Cgwd7ENiQc0BOlANyJTNnYJZ.png
Also the Google API script loads just fine in the footer :
<script type='text/javascript' src='https://maps.google.com/maps/api/js?v=3.20&sensor=false'></script>
Please make sure that you are using the latest version of Hydrogen Theme and Gantry 5.1.6
Thanks
Thanks to both of you for the quick replies.
It seems the maps api and wp-cloudy-ajax.js were not being loaded. I’ve added those to the ‘Custom CSS / JS’ section and set them to ‘Load before </Body>’ and included that in in the ‘Atoms Section’ of the layout and they both load fine:
<script type=’text/javascript’ src=’http://www.mydomain.com/wp-content/plugins/wp-cloudy/js/wp-cloudy-ajax.js?ver=4.3.1′></script>
<script type=’text/javascript’ src=’https://maps.google.com/maps/api/js?ver=v=3.20&sensor=false’></script>
Thanks again for the quick reply and awesome plugin!
Hi again,
Just like I mentioned above. If you will make sure that you are using latest Hydrogen version, and latest Gantry 5 version there shouldn’t be any reason to manually add any JS code. The plugin should be working fine out of box π
Thanks!
Thanks @gantry for jumping in, good to hear that those problems have been sorted out!
cheers,
Ross
No worries @webaware. 3rd party compatibility was our priority in Gantry 5 (which btw. isn’t backwards compatible with Gantry 4 as it’s a new approach). Hopefully all should be fine with the new version of framework π
Thanks,
Jakub
@gantry – I’m using Gantry Version 5.1.6 on WordPress 4.3.1. Its a brand new installation/site.
Is theme also 5.1.6 ? Can you download Hydrogen again and compare index.php if it’s the same ?
Thanks,
Hey g00s3m4n, you don’t happen to be running NextGEN Gallery do you? There’s a problem with that plugin and its “fix” for some themes, addressed here.
Perhaps try this dev version and see if it helps.
https://www.dropbox.com/s/uuhin3322u40npd/wp-flexible-map-1.10.1-dev.zip
cheers,
Ross
nope, not running nextgen.
I’ll run up a new site to test things on and report back.
@gantry – confirmed, on a new dev site with latest hydrogen theme everything works correctly. Seems my theme is not the latest version.
Thanks again to both of you for your help.
Great news, sound like an update is in order then!
cheers,
Ross