http://wpsl.flywheelsites.com/sample-page/
I created a clean WordPress install with only the theme applied and installed WPSL & Advanced Custom Fields PRO (required for theme).
I inserted one test data store item. But still the locator doesn’t load (Google Maps).. but no errors appear in the console.
The wpsl-gmap.min.js isn’t loaded.
Can you open the footer.php inside your active theme folder, and make sure wp_footer() is called? Like in this example.
I have exactly the same problem and the footer.php looks like it should. The problem arised with the upgrade to the last version!
@karditsel upgrade of WP or the plugin? What’s the url?
Both have the latest version. The url is http://www.karditsel.be/verkooppunten. Alvast dank voor je support want ik kan je geweldige plugin echt niet missen!
@karditsel the error on your site is this:
Error: Syntax error, unrecognized expression: a[href*=#]:not([href=#])
http://www.karditsel.be/wp-includes/js/jquery/jquery.js?ver=1.12.3
Line 2
Which is related to this post ( your error is slightly different then the one mentioned in that post, but underlying issue is the same ).
Hi Tijmen,
Apologise for my late reaction.
To answer your question: wp_footer(); is called correctly..
Other scripts are included in the footer, see for example the screenshot:
https://www.dropbox.com/s/t5a3002rnkc9mjs/Schermafdruk%202016-06-07%2011.50.46.png?dl=0
I also see two other scripts from WPSL, do they use the footer hook also?
https://www.dropbox.com/s/qloxwizrfoc5l2q/Schermafdruk%202016-06-07%2012.03.56.png?dl=0
Edit
When I enable MarkerClusters for example… the JS file is loaded correctly.
<script type="text/javascript" src="http://wpsl.flywheelsites.com/wp-content/plugins/wp-store-locator/js/markerclusterer.min.js"></script>
Also the InfoBox JS file is loaded when turning default infobox off.
Same problem here,
since the update the map is not showing and the contact form doesn’t follow the wpml
:s
@stupeur please read this post. It’s very likely the same problem since you mention it happens since you updated.
@breaky623 can you try it with a default WP theme? If it does work, then the problem comes from within your theme, if it’s still broken can you then disable all other plugins one by one and let me know after which plugin it starts to work again.
No plugins are installed only Advanced Custom Fields… when I change to another theme everything works fine…
But still I don’t know where this problem comes from… only the wpsl-gmap.min.js isn’t loaded. And other JS is loaded fine that are added in the same function in your plugin…
Even the old plugin worked fine.. do you know why maybe this problem happens?
The problem comes from within your theme if the plugin works fine with other theme. Can you search the theme folder for ‘wpsl-js’, maybe another script tries from within your them tries to register a script with the same name.
Any chance you can send the theme files to tijmen at wpstorelocator.co? Then I can have a look at the theme code myself, and see if I can find where the problem comes from?