I am trying to: remove unnecessary Google map js files
Link to a page where the issue can be seen:
staging.wesold.co.uk
I expected to see:
I have replaced google map with a image in order to reduce unnecessary page load.
Instead, I got:
Scripts are still loading
Hi,
Thank you for contacting us and I'd be happy to assist.
I've performed some tests on my website and the Toolset Maps plugin only loads a CSS file ( /wp-content/plugins/toolset-maps/resources/css/toolset_maps_fixes.css ) on pages without the map.
Other than that no other scripts or calls to Google Maps API are made, in case no map is loaded on the page.
Looking into the code and resources loaded on your website's homepage, I see several scripts and calls to Google Maps API and it seems that the active theme or some third-party plugin may be responsible for that.
I'll recommend testing the page, with all plugins (other than Toolset ones) disabled and with a default theme like Twenty Twenty.
After that, you can start adding the disabled items back, one-by-one, to narrow down to the one responsible.
regards,
Waqar