Let’s go to the Google Cloud Platform
You have to add credit or debit card to use the Google Maps platform.
Create a new project
Enable APIs and Services
Search for these 3 APIs
- Maps JavaScript API
- Places API
- Geocoding API
Create the credentials
- Application restrictions must be HTTP referrers (web sites)
- Website restrictions is your website url
- API restrictions – select the above mentioned 3 API
and in the end just add the following snippet to your functions.php with your API key:
Leave a Reply