Google Maps via Modern Events Calendar

[ad_1]

As others have had this issue with Modern Events Calendar plugin and its Google Maps function either always loading or not at all despite full user consent (yes to statistic cookies), here’s a new request to solve this issue.

First Google Maps was always loaded regardless of user consent. Then I added the MEC gmap link [/wp-content/plugins/modern-events-calendar/assets/js/googlemap.js] to the Script Center to block in Category Statistics with Placeholder enabled. Now nothing is loaded at all, not even a placeholder, if I agree to statistical cookies in the banner. Caches cleared etc. Seems complianz is promising too much for what in reality requires extensive customizing.

jarnovos actually had provided a link [https://raw.githubusercontent.com/Really-Simple-Plugins/complianz-integrations/master/webnus-modern-events-calendar.php] to a snippet to solve the problem a year ago but that link has vanished for no good reason. Why do you post solutions and then delete them later?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer