To add a Google map to a WordPress site, follow these steps:
1. First, you need to obtain a Google API key by following the steps listed in Google Cloud Platform documentation.
2. Once you have the API key, install and activate any suitable Google Maps plugin like ‘Google Maps Widget.’
3. After activating the plugin, go to the plugin settings and paste the API key in the field for it.
4. Next, create or edit the page or post where you want to add the map.
5. In the editor’s toolbar, select the Google Maps widget from the widgets menu.
6. Choose the map type (roadmap, satellite, hybrid, terrain) and then enter the location or address in the appropriate field.
7. Customize the map size, pin color, and other settings as desired.
8. Finally, save your changes and preview your site to ensure the map is working correctly.
Note: Depending on the plugin you choose, the exact steps for adding and configuring the map on your WordPress site may vary slightly from these general guidelines.