Search
Close this search box.

Documentation

In this article

Category:

Categories

Recent articles

Integration with ChurchThemes Google Maps

An integration between Complianz and Google Maps in ChurchThemes’ Saved theme is available as an MU Plugin on GitHub: https://github.com/Really-Simple-Plugins/complianz-integrations/blob/master/Google%20Maps/churchthemes-gmaps.php

This integration blocks the Maps API and the ChurchThemes script that depends 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

  • Upload the integration file “churchthemes-gmaps.php” to the folder /wp-content/mu-plugins/

By default, a placeholder will be added to the Google Map in the Widget section of the Saved theme.

ChurchThemes - Google Map Blocked with Placeholder

The class to add the placeholder can be changed, by adjusting the class on line 20 of the integration file (churchthemes-gmaps.php).

Change ‘ctfw-google-map’ to the ID or class where the placeholder should be inserted instead.

Join 900.000 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.