• Resolved dan30geek

    (@dan30geek)


    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,
    Dan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    If I remember correctly WP Maps uses AO’s API to disable CSS optimization, so nothing much you can do there. Maybe ask WP Maps support for confirmation of this and/ or if this can be disabled somehow?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No feedback so I assume this got resolved dan30geek ? Feel free to follow up if you still encounter issues!

    have a nice day!
    frank

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Google Map Plugin Causes CSS minification to fail’ is closed to new replies.