Integration with Woodmart Google Maps

An integration with the WoodMart theme Google Maps is available as an MU Plugin on GitHub: https://github.com/Really-Simple-Plugins/complianz-integrations/blob/master/Google%20Maps/woodmart-custom-google-maps.php

This integration blocks the Maps API and the WoodMart scripts that depend on it, prior to consent from the website visitor.

For instructions on the installation of an MU Plugin, please see our earlier article: Adding filters with MU Plugins. Quick & Easy

Configuration

Note: the WoodMart Google Maps element is solely available when using WPBakery.

  • Upload the “woodmart-custom-google-maps.php” file to the /wp-content/mu-plugins/ directory on your site.

 

  • Open the WPBakery Frontend Editor and add a “Google Map” block to the pageComplianz - WoodMart Google Map Block in WPBakery
  • Hover over the Google Map and click the Pencil icon to adjust the Map settingsComplianz - Woodmart Opening the Google Maps settings in WPBakery
  • Enter your Google Maps API key, configure the remaining fields to your liking

Complianz - WoodMart Google Map settings

Example

If your implementation is correct, you should see results like in the below video.

Complianz - WoodMart Google Map Example

Join 1M+ users and install The Privacy Suite for WordPress locally, automated or fully customized, and access our awesome support if you need any help!

Complianz has received its Google CMP Certification to conform to requirements for publishers using Google advertising products.