JS File Combine issue
-
Hello,
I am having an issue with a custom Google Map and combining JS files. If I have ‘JS Minify’ or ‘JS Combine’ ticked on, my Custom Google map will not load. I have added my custom JS file to ‘JS Excludes’. I created a function to load the custom js file and the enqueued the remote Google js file (https://….) as well in functions.php. I have tried adding the URL to that remote Google js file to ‘JS Excludes’ but still the map will not load. What am I missing?
JS EXCLUDES
jquery.js
jquery.min.js
google-map-cp-ireland.js
https://maps.googleapis.com/maps/api/js?key=AIzaSyBo8OJFihZJrG4xqJA5FuzR7ZRkX8SpE6A&loading=async&callback=initMapThe page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.