Google Map Plugin Causes CSS minification to fail
-
Hi there,
We are noticing an odd issue on our site which is using the autoptimize plugin.
When a google map is included on the page via the WP Maps plugin, the css fails to minimise.E.g. This page has a google map on:
https://www.edinburghstorage.co.uk/And it doesnt load the autoptimise combined css file (for example, the ess.css theme file shows).
On this page which doesnt include a map the css optimisation works as expected, with the theme/plugin css combined into one file:
https://www.edinburghstorage.co.uk/student-storage/I have tried to exclude the google maps plugin from both the js optimisation and css optimisation within the autoptmize settings (e.g. added ‘plugins/wp-google-maps/’ to the exclusion list, but the pages still don’t optimise the css when a map is present (when I temporarily remove the map on the homepage optimisation works as expected)
Are you aware of any conflicts with the google maps plugin, and do you have any recommendations as to how we can fix this? Ideally the css/js from the google maps plugin would be minified and aggregated into the optimised css/js cache.
The site is running the latest version of WordPress, Autoptimize, and the map plugin in use is that latest version of WP Go Maps (formerly WP Google Maps -https://www.wpgmaps.com/)
Regards,
DanThe page I need help with: [log in to see the link]
The topic ‘Google Map Plugin Causes CSS minification to fail’ is closed to new replies.