• Resolved Supplement Genie

    (@supplementgenie)


    Excellent plugin, really helped with my page speed and ratings on pingdom, gtmetrix etc.

    The one problem I am having is the google maps gutenberg block loading on my contact page. Not a massive issue but if it can be sorted, that would be great ??

    I have tried adding:

    /wp-content/plugins/gutentor/assets/js/google-map-loader.min.js, /wp-content/plugins/gutentor/assets/js/google-map-loader.js

    to the exception list but with no joy

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

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

    (@optimizingmatters)

    try simply adding plugins/gutentor/ maybe?

    Thread Starter Supplement Genie

    (@supplementgenie)

    If I add that to the exceptions, would that not then leave all gutentor blocks from being cached and as a result negate the need for this plugin?

    Thread Starter Supplement Genie

    (@supplementgenie)

    @optimizingmatters I tried that but it had no effect, the maps block still does not show.

    Thread Starter Supplement Genie

    (@supplementgenie)

    ah… Got it ??

    @optimizingmatters

    I added

    plugins/gutentor/assets/js/google-map-loader.min.js, plugins/gutentor/assets/js/google-map-loader.js

    To the exceptions, sorry if that is what you meant

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, now I’m not sure if I understand;
    1. can you copy-paste your current exceptions?
    2. does it work now?

    Thread Starter Supplement Genie

    (@supplementgenie)

    My current Exception list is:

    wp-includes/js/dist/, wp-includes/js/tinymce/, plugins/gutentor/assets/js/google-map-loader.min.js, plugins/gutentor/assets/js/google-map-loader.js

    I have also noticed that forminator – contact form doesnt load either and seems to be given an element style of display:none;

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    seems like gutentor:
    1. adds it’s resources with a double slash after the plugin slug (so plugins/gutentor//assets) which makes your exclusions not work
    2. has more then just those 2 JS-files, you’ll probably need to exclude them all

    so you’ll need to adjust the exclusions for starters.

    once you’ve done so, check the HTML source to make sure the files indeed are excluded, then test again and if still broken check the browser console for JS errors?

    Thread Starter Supplement Genie

    (@supplementgenie)

    Brilliant, the problem appears to be sorted ??

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    happy to read so Genie ??

    feel free to leave a review of the plugin and support here! ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Gutenberg Google maps not loading’ is closed to new replies.